Spaces:
Sleeping
Sleeping
Commit ·
bd0acf8
1
Parent(s): ee69e36
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ def generate_dialogue(topic):
|
|
| 40 |
|
| 41 |
yield response # Stream output
|
| 42 |
|
| 43 |
-
time.sleep(0.1) # Slow down slightly for smoother streaming
|
| 44 |
|
| 45 |
# Ensure the dialogue ends at a complete sentence
|
| 46 |
if response and response[-1] not in ".!?":
|
|
|
|
| 40 |
|
| 41 |
yield response # Stream output
|
| 42 |
|
| 43 |
+
#time.sleep(0.1) # Slow down slightly for smoother streaming
|
| 44 |
|
| 45 |
# Ensure the dialogue ends at a complete sentence
|
| 46 |
if response and response[-1] not in ".!?":
|