Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import spaces
|
2 |
import json
|
3 |
import subprocess
|
4 |
from llama_cpp import Llama
|
@@ -27,7 +27,7 @@ def get_messages_formatter_type(model_name):
|
|
27 |
raise ValueError(f"Unsupported model: {model_name}")
|
28 |
|
29 |
|
30 |
-
@spaces.GPU(duration=80)
|
31 |
def respond(
|
32 |
message,
|
33 |
history: list[tuple[str, str]],
|
|
|
1 |
+
# import spaces
|
2 |
import json
|
3 |
import subprocess
|
4 |
from llama_cpp import Llama
|
|
|
27 |
raise ValueError(f"Unsupported model: {model_name}")
|
28 |
|
29 |
|
30 |
+
# @spaces.GPU(duration=80)
|
31 |
def respond(
|
32 |
message,
|
33 |
history: list[tuple[str, str]],
|