Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def generate(message, history,temperature=0.7,max_tokens=768):
|
|
| 20 |
mychatbot = gr.Chatbot(
|
| 21 |
avatar_images=["user.png", "bots.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|
| 22 |
|
| 23 |
-
iface = gr.ChatInterface(fn=generate, chatbot=mychatbot, retry_btn=
|
| 24 |
|
| 25 |
with gr.Blocks() as demo:
|
| 26 |
gr.HTML("<center><h1>Chat with Solar</h1></center>")
|
|
|
|
| 20 |
mychatbot = gr.Chatbot(
|
| 21 |
avatar_images=["user.png", "bots.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|
| 22 |
|
| 23 |
+
iface = gr.ChatInterface(fn=generate, chatbot=mychatbot, retry_btn="Retry", undo_btn="Undo")
|
| 24 |
|
| 25 |
with gr.Blocks() as demo:
|
| 26 |
gr.HTML("<center><h1>Chat with Solar</h1></center>")
|