Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ tokenizer = None
|
|
| 27 |
# ======================================================
|
| 28 |
# Chat function (ZeroGPU)
|
| 29 |
# ======================================================
|
| 30 |
-
|
| 31 |
def chat(message, history):
|
| 32 |
global model, tokenizer
|
| 33 |
|
|
|
|
| 27 |
# ======================================================
|
| 28 |
# Chat function (ZeroGPU)
|
| 29 |
# ======================================================
|
| 30 |
+
@spaces.GPU(duration=120)
|
| 31 |
def chat(message, history):
|
| 32 |
global model, tokenizer
|
| 33 |
|