Spaces:
Runtime error
Runtime error
updt
Browse files
app.py
CHANGED
@@ -86,7 +86,8 @@ def text_generate(prompt, generated_txt): #, input_prompt_sql ): #, input_prompt
|
|
86 |
else:
|
87 |
display_output = generated_txt[:-len(prompt)] + final_solution
|
88 |
new_prompt = final_solution[len(prompt):]
|
89 |
-
|
|
|
90 |
return display_output, new_prompt #generated_txt+prompt #final_solution
|
91 |
|
92 |
|
|
|
86 |
else:
|
87 |
display_output = generated_txt[:-len(prompt)] + final_solution
|
88 |
new_prompt = final_solution[len(prompt):]
|
89 |
+
print(f"new prompt for next cycle is : {new_prompt}")
|
90 |
+
print(f"display_output for printing on screen is : {display_output}")
|
91 |
return display_output, new_prompt #generated_txt+prompt #final_solution
|
92 |
|
93 |
|