Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 13 |
trust_remote_code=True
|
| 14 |
)
|
| 15 |
|
| 16 |
-
@spaces.GPU
|
| 17 |
def chat_with_model(prompt, system_prompt, chatbot_display, internal_history):
|
| 18 |
|
| 19 |
if chatbot_display is None:
|
|
|
|
| 13 |
trust_remote_code=True
|
| 14 |
)
|
| 15 |
|
| 16 |
+
@spaces.GPU(duration=60)
|
| 17 |
def chat_with_model(prompt, system_prompt, chatbot_display, internal_history):
|
| 18 |
|
| 19 |
if chatbot_display is None:
|