Vitrous commited on
Commit
bc6e6b4
·
verified ·
1 Parent(s): 59ee58f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -130,6 +130,7 @@ def hermes_generate_response(msg_prompt: str) -> dict:
130
 
131
  return {"user": msg_prompt, "assistant": pipe_output}
132
  except Exception as e:
 
133
 
134
 
135
  def mistral_generate_response(msg_prompt, persona_desc_prompt):
 
130
 
131
  return {"user": msg_prompt, "assistant": pipe_output}
132
  except Exception as e:
133
+ return {"error": str(e)}
134
 
135
 
136
  def mistral_generate_response(msg_prompt, persona_desc_prompt):