Spaces:
Runtime error
Runtime error
deep-learning-analytics
commited on
Commit
•
bf14948
1
Parent(s):
dc142f1
Update app.py
Browse files
app.py
CHANGED
@@ -31,5 +31,5 @@ def generate_answers(text):
|
|
31 |
answer = tokenizer.decode(results[0], skip_special_tokens=True)
|
32 |
return answer
|
33 |
|
34 |
-
iface = gr.Interface(fn=generate_answers,inputs=[gr.inputs.Textbox(lines=
|
35 |
iface.launch(inline=False, share=True)
|
|
|
31 |
answer = tokenizer.decode(results[0], skip_special_tokens=True)
|
32 |
return answer
|
33 |
|
34 |
+
iface = gr.Interface(fn=generate_answers,inputs=[gr.inputs.Textbox(lines=20)], outputs=["text"])
|
35 |
iface.launch(inline=False, share=True)
|