File size: 394 Bytes
578dec0
 
f978ed2
 
 
 
 
 
 
 
 
578dec0
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr

with gr.Blocks() as demo:
    RepositoryID = gr.Textbox(label="RepositoryID")
    FileName = gr.Textbox(label="FileName")
    Submit = gr.Button(label="Run")
    Output = gr.Textbox("",readonly=True)
    
    @button.observe
    def button_click():
        output_text.text = "Running... \n " + RepositoryID.value + " " + FileName.value

demo.launch(quiet=True,share=False)