Spaces:
Sleeping
Sleeping
Palbha Kulkarni (Nazwale)
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ button:hover { background-color: #a01010; }
|
|
16 |
|
17 |
# Model-specific response logic
|
18 |
def get_response(message, chat_history, model_choice, api_key):
|
19 |
-
reply =generate_answer(
|
20 |
|
21 |
chat_history.append((message, reply))
|
22 |
return reply, chat_history
|
|
|
16 |
|
17 |
# Model-specific response logic
|
18 |
def get_response(message, chat_history, model_choice, api_key):
|
19 |
+
reply =generate_answer(message,model_choice,api_key)
|
20 |
|
21 |
chat_history.append((message, reply))
|
22 |
return reply, chat_history
|