Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,4 +60,16 @@ def chat(message, history):
|
|
60 |
# yield "You typed: " + message[: i+1]
|
61 |
return "Done"
|
62 |
|
63 |
-
gr.ChatInterface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
# yield "You typed: " + message[: i+1]
|
61 |
return "Done"
|
62 |
|
63 |
+
gr.ChatInterface(
|
64 |
+
chat,
|
65 |
+
chatbot=gr.Chatbot(height=300),
|
66 |
+
textbox=gr.Textbox(placeholder="Ask me a yes or no question", container=False, scale=7),
|
67 |
+
title="Yes Man",
|
68 |
+
description="Ask Yes Man any question",
|
69 |
+
theme="soft",
|
70 |
+
examples=["Hello", "Am I cool?", "Are tomatoes vegetables?"],
|
71 |
+
cache_examples=True,
|
72 |
+
retry_btn=None,
|
73 |
+
undo_btn="Delete Previous",
|
74 |
+
clear_btn="Clear",
|
75 |
+
).launch()
|