Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def completion(history, model, system_prompt: str, tools=None):
|
|
| 78 |
"stream": True,
|
| 79 |
"max_tokens": 1000,
|
| 80 |
"temperature": 0.2,
|
| 81 |
-
|
| 82 |
"extra_body": {"repetition_penalty": 1.2},
|
| 83 |
}
|
| 84 |
if tools:
|
|
|
|
| 78 |
"stream": True,
|
| 79 |
"max_tokens": 1000,
|
| 80 |
"temperature": 0.2,
|
| 81 |
+
"frequency_penalty": 0.2,
|
| 82 |
"extra_body": {"repetition_penalty": 1.2},
|
| 83 |
}
|
| 84 |
if tools:
|