ysharma HF staff commited on
Commit
c5e7afd
1 Parent(s): e8037e0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def text_generate(prompt, input_prompt_sql ): #, input_prompt_dalle2):
64
  final_solution = solution.split("\nOutput:")[0]
65
  print(f"Response after removing output is: {final_solution}")
66
  elif '\n\n' in solution:
67
- final_solution = solution.split("\nOutput:")[0]
68
  print(f"Response after removing new line entries is: {final_solution}")
69
  else:
70
  final_solution = solution
 
64
  final_solution = solution.split("\nOutput:")[0]
65
  print(f"Response after removing output is: {final_solution}")
66
  elif '\n\n' in solution:
67
+ final_solution = solution.split("\n\n")[0]
68
  print(f"Response after removing new line entries is: {final_solution}")
69
  else:
70
  final_solution = solution