Spaces:
Sleeping
Sleeping
Commit ·
09e6a56
1
Parent(s): ce7981d
test deepseek
Browse files
app.py
CHANGED
|
@@ -77,7 +77,13 @@ import os
|
|
| 77 |
# return result
|
| 78 |
|
| 79 |
import replicate
|
| 80 |
-
def deepseek_api_replicate(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
"""
|
| 82 |
Gọi DeepSeek Math trên Replicate và trả ngay kết quả.
|
| 83 |
|
|
|
|
| 77 |
# return result
|
| 78 |
|
| 79 |
import replicate
|
| 80 |
+
def deepseek_api_replicate(
|
| 81 |
+
user_message,
|
| 82 |
+
history: list[tuple[str, str]],
|
| 83 |
+
system_message,
|
| 84 |
+
max_new_tokens,
|
| 85 |
+
temperature,
|
| 86 |
+
top_p):
|
| 87 |
"""
|
| 88 |
Gọi DeepSeek Math trên Replicate và trả ngay kết quả.
|
| 89 |
|