Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,14 @@ def generate_text(input_text, history):
|
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
-
demo = gr.ChatInterface(generate_text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
demo.queue(concurrency_count=1, max_size=5)
|
| 40 |
demo.launch()
|
| 41 |
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
+
demo = gr.ChatInterface(generate_text,
|
| 39 |
+
title="Yes Man",
|
| 40 |
+
description="Ask Yes Man any question",
|
| 41 |
+
examples=["Hello", "Am I cool?", "Are tomatoes vegetables?"],
|
| 42 |
+
cache_examples=True,
|
| 43 |
+
retry_btn=None,
|
| 44 |
+
undo_btn="Delete Previous",
|
| 45 |
+
clear_btn="Clear",)
|
| 46 |
demo.queue(concurrency_count=1, max_size=5)
|
| 47 |
demo.launch()
|
| 48 |
|