Mansurbek commited on
Commit
a9d4166
·
1 Parent(s): 4e07626

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,14 +20,14 @@ def fn(text):
20
  with gr.Blocks() as demo:
21
  with gr.Row():
22
  with gr.Column():
23
- inp = gr.Textbox(label="Input")
 
24
  with gr.Column():
25
  output1 = gr.Label(label="UzRoBERTa-v1")
26
  output2 = gr.Label(label="roberta-1.8-v2")
27
 
28
  btn = gr.Button("Generate")
29
  btn.click(fn, inputs=[inp], outputs=[output1, output2])
30
- gr.Examples(examples, inputs=[inp])
31
-
32
  if __name__ == "__main__":
33
  demo.queue().launch(share=True)
 
20
  with gr.Blocks() as demo:
21
  with gr.Row():
22
  with gr.Column():
23
+ inp = gr.Textbox(label="Input", lines=6)
24
+ gr.Examples(, inputs=[inp])
25
  with gr.Column():
26
  output1 = gr.Label(label="UzRoBERTa-v1")
27
  output2 = gr.Label(label="roberta-1.8-v2")
28
 
29
  btn = gr.Button("Generate")
30
  btn.click(fn, inputs=[inp], outputs=[output1, output2])
31
+
 
32
  if __name__ == "__main__":
33
  demo.queue().launch(share=True)