Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
|
2 |
|
3 |
examples = [
|
4 |
['The goal of life is <mask>.','']
|
5 |
]
|
6 |
|
7 |
-
uzroberta_v1 = gr.Interface.load("sinonimayzer/UzRoBERTa-v1")
|
8 |
-
roberta_1_8_v2 = gr.Interface.load("sinonimayzer/roberta-1.8-v2")
|
9 |
|
10 |
|
11 |
def inference(input, model):
|
|
|
1 |
+
import gradio as gr
|
2 |
|
3 |
examples = [
|
4 |
['The goal of life is <mask>.','']
|
5 |
]
|
6 |
|
7 |
+
uzroberta_v1 = gr.Interface.load("sinonimayzer/UzRoBERTa-v1", src="models")
|
8 |
+
roberta_1_8_v2 = gr.Interface.load("sinonimayzer/roberta-1.8-v2", src="models")
|
9 |
|
10 |
|
11 |
def inference(input, model):
|