Update app.py
Browse files
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):
|