Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,5 +31,5 @@ def inference(text: str) -> str:
|
|
31 |
|
32 |
examples = ['Tomorrow I will celebrate my birthday!', 'I was shocked when I saw the movie']
|
33 |
|
34 |
-
iface = gr.Interface(fn=inference, inputs="text", outputs="text")
|
35 |
iface.launch()
|
|
|
31 |
|
32 |
examples = ['Tomorrow I will celebrate my birthday!', 'I was shocked when I saw the movie']
|
33 |
|
34 |
+
iface = gr.Interface(fn=inference, inputs="text", outputs="text", examples=examples)
|
35 |
iface.launch()
|