LukeOLuck commited on
Commit
e2aefbb
1 Parent(s): a691856

Add questions_texts

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -82,9 +82,9 @@ article = "Built with [Gradio](https://github.com/gradio-app/gradio) and [PyTorc
82
  demo = gr.Interface(fn=predict,
83
  inputs=gr.Textbox(lines=2, placeholder="Type your text here..."),
84
  outputs=[gr.JSON(label="Top Responses"),
85
- gr.Textbox(label="Actual Response", disabled=True),
86
  gr.Number(label="Prediction time (s)")],
87
- examples=example_texts,
88
  title=title,
89
  description=description,
90
  article=article)
 
82
  demo = gr.Interface(fn=predict,
83
  inputs=gr.Textbox(lines=2, placeholder="Type your text here..."),
84
  outputs=[gr.JSON(label="Top Responses"),
85
+ gr.Textbox(label="Actual Response"),
86
  gr.Number(label="Prediction time (s)")],
87
+ examples=questions_texts,
88
  title=title,
89
  description=description,
90
  article=article)