Add questions_texts
Browse files
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"
|
86 |
gr.Number(label="Prediction time (s)")],
|
87 |
-
examples=
|
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)
|