Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -334,7 +334,7 @@ def format_conversation(history, system_prompt, tokenizer):
|
|
| 334 |
prompt += "Assistant: "
|
| 335 |
return prompt
|
| 336 |
|
| 337 |
-
@spaces.GPU(duration=
|
| 338 |
def chat_response(user_msg, chat_history, system_prompt,
|
| 339 |
enable_search, max_results, max_chars,
|
| 340 |
model_name, max_tokens, temperature,
|
|
|
|
| 334 |
prompt += "Assistant: "
|
| 335 |
return prompt
|
| 336 |
|
| 337 |
+
@spaces.GPU(duration=120)
|
| 338 |
def chat_response(user_msg, chat_history, system_prompt,
|
| 339 |
enable_search, max_results, max_chars,
|
| 340 |
model_name, max_tokens, temperature,
|