Dimitre commited on
Commit
2e8db20
·
1 Parent(s): aa01698

Adding examples

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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()