Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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}"
|