Spaces:
Sleeping
Sleeping
Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -31,7 +31,7 @@ def user(message, history):
|
|
31 |
history.append([message, ""])
|
32 |
return "", history
|
33 |
|
34 |
-
@spaces.GPU
|
35 |
def chat(history, system_message, max_tokens, temperature, top_p, top_k, repeat_penalty):
|
36 |
history = history or []
|
37 |
|
@@ -59,7 +59,7 @@ def chat(history, system_message, max_tokens, temperature, top_p, top_k, repeat_
|
|
59 |
# stream the response
|
60 |
yield history, history
|
61 |
|
62 |
-
@spaces.GPU
|
63 |
def rp_chat(history, system_message, max_tokens, temperature, top_p, top_k, repeat_penalty):
|
64 |
history = history or []
|
65 |
|
|
|
31 |
history.append([message, ""])
|
32 |
return "", history
|
33 |
|
34 |
+
## @spaces.GPU
|
35 |
def chat(history, system_message, max_tokens, temperature, top_p, top_k, repeat_penalty):
|
36 |
history = history or []
|
37 |
|
|
|
59 |
# stream the response
|
60 |
yield history, history
|
61 |
|
62 |
+
## @spaces.GPU
|
63 |
def rp_chat(history, system_message, max_tokens, temperature, top_p, top_k, repeat_penalty):
|
64 |
history = history or []
|
65 |
|