Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -235,9 +235,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
235 |
deleteBtn.click(delete_last_turn, [chatbot, history], [chatbot, history])
|
236 |
|
237 |
with gr.Accordion("Example inputs", open=True):
|
|
|
238 |
examples = gr.Examples(
|
239 |
-
|
240 |
-
|
241 |
["How long does it take to become proficient in French, and what are the best methods for retaining information?"],
|
242 |
["What are some common mistakes to avoid when writing code?"],
|
243 |
["Build a prompt to generate a beautiful portrait of a horse"],
|
|
|
235 |
deleteBtn.click(delete_last_turn, [chatbot, history], [chatbot, history])
|
236 |
|
237 |
with gr.Accordion("Example inputs", open=True):
|
238 |
+
etext = """In America, where cars are an important part of the national psyche, a decade ago people had suddenly started to drive less, which had not happened since the oil shocks of the 1970s. """
|
239 |
examples = gr.Examples(
|
240 |
+
examples=[
|
241 |
+
["Explain the plot of Cinderella in a sentence."],
|
242 |
["How long does it take to become proficient in French, and what are the best methods for retaining information?"],
|
243 |
["What are some common mistakes to avoid when writing code?"],
|
244 |
["Build a prompt to generate a beautiful portrait of a horse"],
|