Update app1.py
Browse files
app1.py
CHANGED
@@ -20,15 +20,11 @@ with gr.Blocks() as demo:
|
|
20 |
prog = gr.HTML(
|
21 |
value="<h3 style='text-align: center'> Processing...<h1>"
|
22 |
)
|
23 |
-
gr.Interface(test,
|
24 |
|
25 |
-
t = gr.Textbox()
|
26 |
b = gr.Button()
|
27 |
-
f = gr.File()
|
28 |
-
|
29 |
|
30 |
b.click(test, t, t)
|
31 |
-
t.submit(test, t, t)
|
32 |
|
33 |
|
34 |
demo.launch()
|
|
|
20 |
prog = gr.HTML(
|
21 |
value="<h3 style='text-align: center'> Processing...<h1>"
|
22 |
)
|
23 |
+
gr.Interface(test, inputs=[selected])
|
24 |
|
|
|
25 |
b = gr.Button()
|
|
|
|
|
26 |
|
27 |
b.click(test, t, t)
|
|
|
28 |
|
29 |
|
30 |
demo.launch()
|