Spaces:
Runtime error
Runtime error
wannaphong
commited on
Commit
•
d8d1f00
1
Parent(s):
4477f4a
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Thank you code from https://huggingface.co/spaces/gokaygokay/Gemma-2-llamacpp
|
2 |
-
import spaces
|
3 |
import os
|
4 |
import json
|
5 |
import subprocess
|
@@ -38,7 +38,7 @@ hf_hub_download(
|
|
38 |
llm = None
|
39 |
llm_model = None
|
40 |
|
41 |
-
|
42 |
def respond(
|
43 |
message,
|
44 |
history: list[tuple[str, str]],
|
|
|
1 |
# Thank you code from https://huggingface.co/spaces/gokaygokay/Gemma-2-llamacpp
|
2 |
+
#import spaces
|
3 |
import os
|
4 |
import json
|
5 |
import subprocess
|
|
|
38 |
llm = None
|
39 |
llm_model = None
|
40 |
|
41 |
+
#@spaces.GPU(duration=120)
|
42 |
def respond(
|
43 |
message,
|
44 |
history: list[tuple[str, str]],
|