Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ EMOJI = os.environ.get("EMOJI")
|
|
19 |
DESCRIPTION = os.environ.get("DESCRIPTION")
|
20 |
|
21 |
|
22 |
-
@spaces.GPU(
|
23 |
def predict(message, history, system_prompt, temperature, max_new_tokens, top_k, repetition_penalty, top_p):
|
24 |
# Format history with a given chat template
|
25 |
if CHAT_TEMPLATE == "Auto":
|
|
|
19 |
DESCRIPTION = os.environ.get("DESCRIPTION")
|
20 |
|
21 |
|
22 |
+
@spaces.GPU()
|
23 |
def predict(message, history, system_prompt, temperature, max_new_tokens, top_k, repetition_penalty, top_p):
|
24 |
# Format history with a given chat template
|
25 |
if CHAT_TEMPLATE == "Auto":
|