Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,7 +101,6 @@ def talk(prompt,history=[]):
|
|
| 101 |
outputs = []
|
| 102 |
for text in streamer:
|
| 103 |
outputs.append(text)
|
| 104 |
-
print(outputs)
|
| 105 |
yield "".join(outputs)
|
| 106 |
|
| 107 |
|
|
@@ -128,10 +127,10 @@ demo = gr.ChatInterface(
|
|
| 128 |
show_copy_button=True,
|
| 129 |
layout="bubble",
|
| 130 |
bubble_full_width=False,
|
| 131 |
-
type="tuples",
|
| 132 |
),
|
| 133 |
theme="Soft",
|
| 134 |
-
|
|
|
|
| 135 |
title=TITLE,
|
| 136 |
description=DESCRIPTION,
|
| 137 |
|
|
|
|
| 101 |
outputs = []
|
| 102 |
for text in streamer:
|
| 103 |
outputs.append(text)
|
|
|
|
| 104 |
yield "".join(outputs)
|
| 105 |
|
| 106 |
|
|
|
|
| 127 |
show_copy_button=True,
|
| 128 |
layout="bubble",
|
| 129 |
bubble_full_width=False,
|
|
|
|
| 130 |
),
|
| 131 |
theme="Soft",
|
| 132 |
+
type="tuples",
|
| 133 |
+
examples=["what's anarchy ? "],
|
| 134 |
title=TITLE,
|
| 135 |
description=DESCRIPTION,
|
| 136 |
|