Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ examples = [
|
|
9 |
def fn(text):
|
10 |
uzroberta_v1 = pipeline("fill-mask", model="sinonimayzer/UzRoBERTa-v1")
|
11 |
roberta_1_8_v2 = pipeline("fill-mask", model="sinonimayzer/roberta-1.8-v2")
|
12 |
-
return uzroberta_v1(text)
|
13 |
|
14 |
with gr.Blocks() as demo:
|
15 |
with gr.Row():
|
|
|
9 |
def fn(text):
|
10 |
uzroberta_v1 = pipeline("fill-mask", model="sinonimayzer/UzRoBERTa-v1")
|
11 |
roberta_1_8_v2 = pipeline("fill-mask", model="sinonimayzer/roberta-1.8-v2")
|
12 |
+
return uzroberta_v1(text), roberta_1_8_v2(text)
|
13 |
|
14 |
with gr.Blocks() as demo:
|
15 |
with gr.Row():
|