Spaces:
Runtime error
Runtime error
Commit ·
31773d9
1
Parent(s): 16126d1
test deepseek
Browse files
app.py
CHANGED
|
@@ -120,14 +120,7 @@ def respond(
|
|
| 120 |
temperature,
|
| 121 |
top_p
|
| 122 |
):
|
| 123 |
-
return call_api.respond(
|
| 124 |
-
message,
|
| 125 |
-
history: list[tuple[str, str]],
|
| 126 |
-
system_message,
|
| 127 |
-
max_tokens,
|
| 128 |
-
temperature,
|
| 129 |
-
top_p
|
| 130 |
-
)
|
| 131 |
|
| 132 |
|
| 133 |
chat = gr.ChatInterface(
|
|
|
|
| 120 |
temperature,
|
| 121 |
top_p
|
| 122 |
):
|
| 123 |
+
return call_api.respond(message, history, system_message, max_tokens, temperature)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
|
| 125 |
|
| 126 |
chat = gr.ChatInterface(
|