Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def detect(text, request: gr.Request):
|
|
9 |
with gr.Blocks() as demo:
|
10 |
gr.Markdown("## Test request")
|
11 |
text = gr.Textbox(label="dummy input")
|
12 |
-
output = JSON({})
|
13 |
btn = gr.Button("Test")
|
14 |
|
15 |
btn.click(predict, inputs=[text],outputs=[text, output])
|
|
|
9 |
with gr.Blocks() as demo:
|
10 |
gr.Markdown("## Test request")
|
11 |
text = gr.Textbox(label="dummy input")
|
12 |
+
output = gr.JSON({})
|
13 |
btn = gr.Button("Test")
|
14 |
|
15 |
btn.click(predict, inputs=[text],outputs=[text, output])
|