Spaces:
Sleeping
Sleeping
Montazerh82
commited on
Commit
•
b2bb994
1
Parent(s):
b783377
edit app
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def greet(text):
|
|
15 |
' (' + str(result['score']) + ')' + \
|
16 |
'\n' + result['sequence'] + '\n\n'
|
17 |
|
18 |
-
return
|
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:"),
|