Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def generate(prompt, history, agent_name=agents[0], sys_prompt="", temperature=0
|
|
104 |
|
105 |
prompt = question_generate(output, history)
|
106 |
#output += prompt
|
107 |
-
history.append(prompt,output)
|
108 |
print ( f'Prompt:: {prompt}')
|
109 |
print ( f'output:: {output}')
|
110 |
print ( f'history:: {history}')
|
|
|
104 |
|
105 |
prompt = question_generate(output, history)
|
106 |
#output += prompt
|
107 |
+
history.append((prompt,output))
|
108 |
print ( f'Prompt:: {prompt}')
|
109 |
print ( f'output:: {output}')
|
110 |
print ( f'history:: {history}')
|