Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,10 +22,12 @@ def request_to_v2(message, api_keys, context=[]):
|
|
22 |
promt_s = [
|
23 |
message
|
24 |
]
|
25 |
-
|
26 |
respose = model.generate_content(promt_s)
|
|
|
|
|
27 |
responses = respose.text
|
28 |
-
|
29 |
# responses = "嘿嘿"
|
30 |
|
31 |
context += [responses]
|
|
|
22 |
promt_s = [
|
23 |
message
|
24 |
]
|
25 |
+
print(f"用户输入:{message}")
|
26 |
respose = model.generate_content(promt_s)
|
27 |
+
print(f"模型输入:{respose}")
|
28 |
+
|
29 |
responses = respose.text
|
30 |
+
print(f"模型输入:{responses}")
|
31 |
# responses = "嘿嘿"
|
32 |
|
33 |
context += [responses]
|