Montazerh82 commited on
Commit
b2bb994
1 Parent(s): b783377
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def greet(text):
15
  ' (' + str(result['score']) + ')' + \
16
  '\n' + result['sequence'] + '\n\n'
17
 
18
- return results
19
 
20
 
21
  demo = gr.Interface(fn=greet, inputs=gr.Textbox(label='input text'), outputs=gr.Textbox(label="output text:"),
 
15
  ' (' + str(result['score']) + ')' + \
16
  '\n' + result['sequence'] + '\n\n'
17
 
18
+ return result_str
19
 
20
 
21
  demo = gr.Interface(fn=greet, inputs=gr.Textbox(label='input text'), outputs=gr.Textbox(label="output text:"),