Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,12 +32,12 @@ with gr.Blocks() as demo:
|
|
32 |
with gr.Column():
|
33 |
output0 = gr.Label(label=models[0])
|
34 |
input = gr.Textbox(label="Input", lines=11, max_lines=11, value=examples[0], show_label=True)
|
|
|
|
|
35 |
with gr.Column():
|
36 |
output1 = gr.Label(label=models[1])
|
37 |
output2 = gr.Label(label=models[2])
|
38 |
-
btn = gr.Button("Check")
|
39 |
btn.click(fn, inputs=[input], outputs=[output0, output1, output2])
|
40 |
-
gr.Examples(examples, fn=fn, inputs=[input], outputs=[output0, output1, output2], cache_examples=True, batch=True)
|
41 |
|
42 |
if __name__ == "__main__":
|
43 |
demo.queue().launch()
|
|
|
32 |
with gr.Column():
|
33 |
output0 = gr.Label(label=models[0])
|
34 |
input = gr.Textbox(label="Input", lines=11, max_lines=11, value=examples[0], show_label=True)
|
35 |
+
btn = gr.Button("Check")
|
36 |
+
gr.Examples(examples, fn=fn, inputs=[input], outputs=[output0, output1, output2], cache_examples=True, batch=True)
|
37 |
with gr.Column():
|
38 |
output1 = gr.Label(label=models[1])
|
39 |
output2 = gr.Label(label=models[2])
|
|
|
40 |
btn.click(fn, inputs=[input], outputs=[output0, output1, output2])
|
|
|
41 |
|
42 |
if __name__ == "__main__":
|
43 |
demo.queue().launch()
|