Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,10 +37,9 @@ with gr.Blocks() as demo:
|
|
37 |
with gr.Column():
|
38 |
output2 = gr.Label(label=models[2])
|
39 |
with gr.Column():
|
40 |
-
input = gr.Textbox(label="Input", value=examples[0],
|
41 |
-
gr.Examples(examples, fn=fn, inputs=[input], outputs=[output0, output1, output2], cache_examples=True, batch=True)
|
42 |
btn = gr.Button("Check")
|
|
|
43 |
btn.click(fn, inputs=[input], outputs=[output0, output1, output2])
|
44 |
-
|
45 |
if __name__ == "__main__":
|
46 |
demo.queue().launch()
|
|
|
37 |
with gr.Column():
|
38 |
output2 = gr.Label(label=models[2])
|
39 |
with gr.Column():
|
40 |
+
input = gr.Textbox(label="Input", value=examples[0], lines=3)
|
|
|
41 |
btn = gr.Button("Check")
|
42 |
+
gr.Examples(examples, fn=fn, inputs=[input], outputs=[output0, output1, output2], cache_examples=True, batch=True)
|
43 |
btn.click(fn, inputs=[input], outputs=[output0, output1, output2])
|
|
|
44 |
if __name__ == "__main__":
|
45 |
demo.queue().launch()
|