Spaces:
Runtime error
Runtime error
Adding examples
Browse files
app.py
CHANGED
@@ -29,5 +29,6 @@ model = model_fn(preprocessor, encoder)
|
|
29 |
|
30 |
iface = gr.Interface(fn=predict_fn,
|
31 |
inputs=gr.Textbox(lines=2, placeholder="Text input here...", label="Text"),
|
32 |
-
outputs="text"
|
|
|
33 |
iface.launch()
|
|
|
29 |
|
30 |
iface = gr.Interface(fn=predict_fn,
|
31 |
inputs=gr.Textbox(lines=2, placeholder="Text input here...", label="Text"),
|
32 |
+
outputs="text",
|
33 |
+
examples=[["Hello! This is a random sentence"]])
|
34 |
iface.launch()
|