Mansurbek commited on
Commit
5b2bf9e
1 Parent(s): 772cbfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -3,7 +3,8 @@ from transformers import pipeline
3
 
4
  examples = [
5
  'Kuchli yomg‘irlar tufayli bir qator <mask> kuchli sel oqishi kuzatildi.',
6
- 'Shu munosabat bilan O‘zbekiston Prezidenti global inqiroz sharoitida savdo-iqtisodiy hamkorlikni <mask> va hududlararo aloqalarni rivojlantirishning muhim masalalariga to‘xtalib o‘tdi.',
 
7
  ]
8
 
9
  def df(arr):
@@ -22,7 +23,7 @@ with gr.Blocks() as demo:
22
  with gr.Row():
23
  with gr.Column():
24
  output1 = gr.Label(label="UzRoBERTa-v1")
25
- inp = gr.Textbox(label="Input", lines=6)
26
  with gr.Column():
27
  output2 = gr.Label(label="roberta-1.8-v2")
28
  output3 = gr.Label(label="roberta-1.0")
 
3
 
4
  examples = [
5
  'Kuchli yomg‘irlar tufayli bir qator <mask> kuchli sel oqishi kuzatildi.',
6
+ 'Alisher Navoiy oʻzbek va boshqa turkiy xalqlarning <mask>, mutafakkiri va davlat arbobi.',
7
+ 'Oʻzbekiston iqtisodiyoti bozor <mask> bosqichma-bosqich oʻtadi, tashqi savdo siyosati import oʻrnini bosishga asoslangan.'
8
  ]
9
 
10
  def df(arr):
 
23
  with gr.Row():
24
  with gr.Column():
25
  output1 = gr.Label(label="UzRoBERTa-v1")
26
+ inp = gr.Textbox(label="Input", lines=8)
27
  with gr.Column():
28
  output2 = gr.Label(label="roberta-1.8-v2")
29
  output3 = gr.Label(label="roberta-1.0")