Spaces:
Runtime error
Runtime error
Commit
·
398bb7c
1
Parent(s):
a2d0bed
Update app.py
Browse files
app.py
CHANGED
|
@@ -259,11 +259,11 @@ async def add_text(char1,char2,runs,context,initial_question,history):
|
|
| 259 |
last_question=None
|
| 260 |
# todo build a context from dropdown
|
| 261 |
returned_history = ""
|
| 262 |
-
for i in range(int(runs)):
|
| 263 |
print("char1:",char1," :", initial_question)
|
| 264 |
returned_history += char1 + " : " + initial_question + "\n"
|
| 265 |
|
| 266 |
-
dialogue,last_question,last_answer,history = run_chatter(num_repeat=
|
| 267 |
character=char2,
|
| 268 |
human_character=char1,
|
| 269 |
context=context,
|
|
|
|
| 259 |
last_question=None
|
| 260 |
# todo build a context from dropdown
|
| 261 |
returned_history = ""
|
| 262 |
+
for i in range(int(runs+1)):
|
| 263 |
print("char1:",char1," :", initial_question)
|
| 264 |
returned_history += char1 + " : " + initial_question + "\n"
|
| 265 |
|
| 266 |
+
dialogue,last_question,last_answer,history = run_chatter(num_repeat=1,
|
| 267 |
character=char2,
|
| 268 |
human_character=char1,
|
| 269 |
context=context,
|