Vitrous commited on
Commit
e973a0b
·
verified ·
1 Parent(s): e0a385c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": assistant_reply}
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: