Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
•
78c280f
1
Parent(s):
f34ebd9
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
import json
|
3 |
import subprocess
|
4 |
import os
|
@@ -80,7 +80,7 @@ hf_hub_download(
|
|
80 |
llm = None
|
81 |
llm_model = None
|
82 |
|
83 |
-
|
84 |
def respond(
|
85 |
message,
|
86 |
history: list[tuple[str, str]],
|
|
|
1 |
+
import spaces
|
2 |
import json
|
3 |
import subprocess
|
4 |
import os
|
|
|
80 |
llm = None
|
81 |
llm_model = None
|
82 |
|
83 |
+
@spaces.GPU(duration=120)
|
84 |
def respond(
|
85 |
message,
|
86 |
history: list[tuple[str, str]],
|