Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
'
|
|
|
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=
|
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")
|