Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,5 +35,5 @@ description = """
|
|
| 35 |
"""
|
| 36 |
examples = ['Tomorrow I will celebrate my birthday!', 'I was shocked when I saw the movie']
|
| 37 |
|
| 38 |
-
iface = gr.Interface(fn=inference,
|
| 39 |
iface.launch()
|
|
|
|
| 35 |
"""
|
| 36 |
examples = ['Tomorrow I will celebrate my birthday!', 'I was shocked when I saw the movie']
|
| 37 |
|
| 38 |
+
iface = gr.Interface(fn=inference, inputs="text", outputs="text", title=title, description=description, examples=examples)
|
| 39 |
iface.launch()
|