Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def generate_response(prompt, history, model, temperature, max_tokens, top_p, se
|
|
| 14 |
input_text = prompt + history
|
| 15 |
|
| 16 |
stream = client.chat.completions.create(
|
| 17 |
-
messages=input_text
|
| 18 |
model=model,
|
| 19 |
temperature=temperature,
|
| 20 |
max_tokens=max_tokens,
|
|
|
|
| 14 |
input_text = prompt + history
|
| 15 |
|
| 16 |
stream = client.chat.completions.create(
|
| 17 |
+
messages=input_text,
|
| 18 |
model=model,
|
| 19 |
temperature=temperature,
|
| 20 |
max_tokens=max_tokens,
|