Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,14 @@ def respond(
|
|
15 |
temperature,
|
16 |
top_p,
|
17 |
):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
messages = [{"role": "system", "content": system_message}]
|
19 |
|
20 |
for val in history:
|
|
|
15 |
temperature,
|
16 |
top_p,
|
17 |
):
|
18 |
+
|
19 |
+
async def generate_response(message):
|
20 |
+
global conversation_history # μ μ λ³μ μ¬μ©μ λͺ
μ
|
21 |
+
user_input = message.content
|
22 |
+
user_mention = message.author.mention
|
23 |
+
system_prefix = """ μλ
νμΈμ λ°κ°μ΅λλ€."""
|
24 |
+
|
25 |
+
|
26 |
messages = [{"role": "system", "content": system_message}]
|
27 |
|
28 |
for val in history:
|