Spaces:
Runtime error
Runtime error
nos
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,8 +61,16 @@ with gr.Blocks() as demo:
|
|
| 61 |
with gr.Tab("Chat"):
|
| 62 |
gr.ChatInterface(
|
| 63 |
respond,
|
| 64 |
-
chatbot=gr.Chatbot(height=300),
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
)
|
| 67 |
with gr.Tab("ELS"):
|
| 68 |
with gr.Row():
|
|
|
|
| 61 |
with gr.Tab("Chat"):
|
| 62 |
gr.ChatInterface(
|
| 63 |
respond,
|
| 64 |
+
#chatbot=gr.Chatbot(height=300),
|
| 65 |
+
textbox=gr.Textbox(placeholder="Ask me a yes or no question", container=False, scale=7),
|
| 66 |
+
title="Yes Man",
|
| 67 |
+
description="Ask Yes Man any question",
|
| 68 |
+
theme="soft",
|
| 69 |
+
examples=["Hello", "Am I cool?", "Are tomatoes vegetables?"],
|
| 70 |
+
cache_examples=True,
|
| 71 |
+
retry_btn=None,
|
| 72 |
+
undo_btn="Delete Previous",
|
| 73 |
+
clear_btn="Clear",
|
| 74 |
)
|
| 75 |
with gr.Tab("ELS"):
|
| 76 |
with gr.Row():
|