johann22 commited on
Commit
8222eec
β€’
1 Parent(s): 6d15428

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -59,6 +59,7 @@ def run(purpose,history,model_drop):
59
  history = ""
60
  try:
61
  out_prompt = run_gpt(purpose,history)
 
62
  print (out_prompt)
63
  except Exception as e:
64
  out_prompt = f"An Error Occured generating the prompt \n {e}"
 
59
  history = ""
60
  try:
61
  out_prompt = run_gpt(purpose,history)
62
+ out_prompt.strip()
63
  print (out_prompt)
64
  except Exception as e:
65
  out_prompt = f"An Error Occured generating the prompt \n {e}"