Mansurbek commited on
Commit
823a19b
·
1 Parent(s): 788e42f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -31,13 +31,12 @@ with gr.Blocks() as demo:
31
  with gr.Row():
32
  with gr.Column():
33
  output0 = gr.Label(label=models[0])
 
 
 
34
  input = gr.Textbox(label="Input", value=examples[0], show_label=True)
35
  gr.Examples(examples, fn=fn, inputs=[input], outputs=[output0, output1, output2], cache_examples=True, batch=True)
36
  btn = gr.Button("Check")
37
- with gr.Column():
38
- output1 = gr.Label(label=models[1])
39
- output2 = gr.Label(label=models[2])
40
-
41
  btn.click(fn, inputs=[input], outputs=[output0, output1, output2])
42
 
43
  if __name__ == "__main__":
 
31
  with gr.Row():
32
  with gr.Column():
33
  output0 = gr.Label(label=models[0])
34
+ output1 = gr.Label(label=models[1])
35
+ output2 = gr.Label(label=models[2])
36
+ with gr.Column():
37
  input = gr.Textbox(label="Input", value=examples[0], show_label=True)
38
  gr.Examples(examples, fn=fn, inputs=[input], outputs=[output0, output1, output2], cache_examples=True, batch=True)
39
  btn = gr.Button("Check")
 
 
 
 
40
  btn.click(fn, inputs=[input], outputs=[output0, output1, output2])
41
 
42
  if __name__ == "__main__":