Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def generate_response(prompt: str) -> dict:
|
|
67 |
# Extract the assistant's reply
|
68 |
assistant_reply = generated_response.split('\n')[1]
|
69 |
|
70 |
-
return {"user": prompt, "assistant":
|
71 |
|
72 |
|
73 |
def generate_prompt_response(persona_prompt: str, prompt: str) -> dict:
|
|
|
67 |
# Extract the assistant's reply
|
68 |
assistant_reply = generated_response.split('\n')[1]
|
69 |
|
70 |
+
return {"user": prompt, "assistant": generated_response}
|
71 |
|
72 |
|
73 |
def generate_prompt_response(persona_prompt: str, prompt: str) -> dict:
|