Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def load_models(inp):
|
|
29 |
return gr.update(label=models[inp])
|
30 |
|
31 |
def format_prompt(message, history, cust_p):
|
32 |
-
prompt = "
|
33 |
if history:
|
34 |
for user_prompt, bot_response in history:
|
35 |
prompt += f"<start_of_turn>user{user_prompt}<end_of_turn>"
|
|
|
29 |
return gr.update(label=models[inp])
|
30 |
|
31 |
def format_prompt(message, history, cust_p):
|
32 |
+
prompt = ""
|
33 |
if history:
|
34 |
for user_prompt, bot_response in history:
|
35 |
prompt += f"<start_of_turn>user{user_prompt}<end_of_turn>"
|