Mansurbek commited on
Commit
489c564
·
1 Parent(s): 1cf8b14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,11 +1,11 @@
1
- mport gradio as gr
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):