Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def create_history_messages(history):
|
|
12 |
history_messages.extend([{"role": "assistant", "content": m[1]} for m in history])
|
13 |
return history_messages
|
14 |
|
15 |
-
def generate_response(prompt, history,
|
16 |
messages = create_history_messages(history)
|
17 |
messages.append({"role": "system", "content": """
|
18 |
**My Identity**
|
|
|
12 |
history_messages.extend([{"role": "assistant", "content": m[1]} for m in history])
|
13 |
return history_messages
|
14 |
|
15 |
+
def generate_response(prompt, history, temperature, max_tokens, top_p, seed):
|
16 |
messages = create_history_messages(history)
|
17 |
messages.append({"role": "system", "content": """
|
18 |
**My Identity**
|