Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -392,7 +392,7 @@ def generate_response(user_input, model_id):
|
|
392 |
chat_history.append({'role': 'user', 'content': user_input})
|
393 |
chat_history.append({'role': 'assistant', 'content': best_response})
|
394 |
|
395 |
-
return best_response
|
396 |
|
397 |
except Exception as e:
|
398 |
print("Error in generate_response:")
|
|
|
392 |
chat_history.append({'role': 'user', 'content': user_input})
|
393 |
chat_history.append({'role': 'assistant', 'content': best_response})
|
394 |
|
395 |
+
return prompt #best_response
|
396 |
|
397 |
except Exception as e:
|
398 |
print("Error in generate_response:")
|