Spaces:
Sleeping
Sleeping
mahiatlinux
commited on
Commit
•
2d13e8e
1
Parent(s):
c25c78c
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ if torch.cuda.is_available():
|
|
30 |
tokenizer.use_default_system_prompt = False
|
31 |
|
32 |
# Define a function decorated to use GPU and enable queue for processing the generation tasks.
|
33 |
-
@spaces.GPU(enable_queue=
|
34 |
def generate(
|
35 |
message: str,
|
36 |
chat_history: list[tuple[str, str]],
|
|
|
30 |
tokenizer.use_default_system_prompt = False
|
31 |
|
32 |
# Define a function decorated to use GPU and enable queue for processing the generation tasks.
|
33 |
+
@spaces.GPU(enable_queue=False)
|
34 |
def generate(
|
35 |
message: str,
|
36 |
chat_history: list[tuple[str, str]],
|