Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,6 +147,8 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 147 |
|
| 148 |
gr.Examples(
|
| 149 |
examples=[
|
|
|
|
|
|
|
| 150 |
'Hello there! How are you doing?',
|
| 151 |
'Can you explain briefly to me what is the Python programming language?',
|
| 152 |
'Explain the plot of Cinderella in a sentence.',
|
|
@@ -253,6 +255,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 253 |
)
|
| 254 |
|
| 255 |
undo_button.click(
|
|
|
|
| 256 |
fn=delete_prev_fn,
|
| 257 |
inputs=chatbot,
|
| 258 |
outputs=[chatbot, saved_input],
|
|
|
|
| 147 |
|
| 148 |
gr.Examples(
|
| 149 |
examples=[
|
| 150 |
+
'用中文回答,When is the best time to visit Beijing, and do you have any suggestions for me?',
|
| 151 |
+
'用英文回答,特朗普是谁?',
|
| 152 |
'Hello there! How are you doing?',
|
| 153 |
'Can you explain briefly to me what is the Python programming language?',
|
| 154 |
'Explain the plot of Cinderella in a sentence.',
|
|
|
|
| 255 |
)
|
| 256 |
|
| 257 |
undo_button.click(
|
| 258 |
+
|
| 259 |
fn=delete_prev_fn,
|
| 260 |
inputs=chatbot,
|
| 261 |
outputs=[chatbot, saved_input],
|