Spaces:
Sleeping
Sleeping
jocko
commited on
Commit
·
3314fb6
1
Parent(s):
a9986c4
merging code
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -122,7 +122,7 @@ def get_chat_completion_openai(_client, _prompt: str):
|
|
122 |
model="gpt-4o", # or "gpt-4" if you need the older GPT-4
|
123 |
messages=[{"role": "user", "content": _prompt}],
|
124 |
temperature=0.5,
|
125 |
-
max_tokens=
|
126 |
)
|
127 |
|
128 |
@track
|
|
|
122 |
model="gpt-4o", # or "gpt-4" if you need the older GPT-4
|
123 |
messages=[{"role": "user", "content": _prompt}],
|
124 |
temperature=0.5,
|
125 |
+
max_tokens=425
|
126 |
)
|
127 |
|
128 |
@track
|