ysharma HF staff commited on
Commit
1b8cd19
·
1 Parent(s): 14bc821
Files changed (1) hide show
  1. app.py +2 -1
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