Spaces:
Runtime error
Runtime error
Update gradio version
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🚀
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.36.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def get_model_answer(question, state=[[],[]]):
|
|
| 57 |
with gr.Blocks() as demo:
|
| 58 |
state = gr.State([[],[]])
|
| 59 |
chatbot = gr.Chatbot()
|
| 60 |
-
text = gr.Textbox(label="Ask a question (press enter to submit)",
|
| 61 |
gr.Examples(
|
| 62 |
["What's the name of the dataset that was built?", "what task does it focus on?", "what is that task about?"],
|
| 63 |
text
|
|
|
|
| 57 |
with gr.Blocks() as demo:
|
| 58 |
state = gr.State([[],[]])
|
| 59 |
chatbot = gr.Chatbot()
|
| 60 |
+
text = gr.Textbox(label="Ask a question (press enter to submit)", value="How are you?")
|
| 61 |
gr.Examples(
|
| 62 |
["What's the name of the dataset that was built?", "what task does it focus on?", "what is that task about?"],
|
| 63 |
text
|