Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
added spaces.gpu
Browse files
app.py
CHANGED
|
@@ -17,6 +17,7 @@ MAX_INPUT_TOKEN_LENGTH = 8192
|
|
| 17 |
|
| 18 |
client = Together()
|
| 19 |
|
|
|
|
| 20 |
def chat_fn(message, history, system_message, max_tokens, temperature, top_p):
|
| 21 |
|
| 22 |
# Add system prompt
|
|
|
|
| 17 |
|
| 18 |
client = Together()
|
| 19 |
|
| 20 |
+
@spaces.GPU
|
| 21 |
def chat_fn(message, history, system_message, max_tokens, temperature, top_p):
|
| 22 |
|
| 23 |
# Add system prompt
|