Spaces:
Running
on
Zero
Running
on
Zero
fix: Increase GPU duration to 150s
Browse files
comp.py
CHANGED
|
@@ -14,7 +14,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 14 |
trust_remote_code=True
|
| 15 |
)
|
| 16 |
|
| 17 |
-
@spaces.GPU(duration=
|
| 18 |
def generate_response(message, history, system_prompt=None):
|
| 19 |
# (msg, history, system_prompt) -> str: stream response (yielding partial responses)
|
| 20 |
|
|
|
|
| 14 |
trust_remote_code=True
|
| 15 |
)
|
| 16 |
|
| 17 |
+
@spaces.GPU(duration=150)
|
| 18 |
def generate_response(message, history, system_prompt=None):
|
| 19 |
# (msg, history, system_prompt) -> str: stream response (yielding partial responses)
|
| 20 |
|