Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def format_response(text):
|
|
74 |
text = text.replace(old, new)
|
75 |
return text
|
76 |
|
77 |
-
@spaces.GPU(duration=
|
78 |
def generate_response(message, chat_history, system_prompt, temperature, max_tokens, top_p, top_k, repetition_penalty):
|
79 |
# Build the conversation history.
|
80 |
conversation = [{"role": "system", "content": system_prompt}]
|
|
|
74 |
text = text.replace(old, new)
|
75 |
return text
|
76 |
|
77 |
+
@spaces.GPU(duration=120)
|
78 |
def generate_response(message, chat_history, system_prompt, temperature, max_tokens, top_p, top_k, repetition_penalty):
|
79 |
# Build the conversation history.
|
80 |
conversation = [{"role": "system", "content": system_prompt}]
|