Spaces:
Sleeping
Sleeping
Commit
·
86b5c4d
1
Parent(s):
b1229df
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ if st.button("Submit", type="primary"):
|
|
13 |
res_box = st.empty()
|
14 |
|
15 |
content = []
|
16 |
-
for chunk in openai.
|
17 |
model="gpt-3.5-turbo",
|
18 |
temperature=temperature,
|
19 |
messages=[{"role": "user", "content": input}],
|
|
|
13 |
res_box = st.empty()
|
14 |
|
15 |
content = []
|
16 |
+
for chunk in openai.ChatCompletion.create(
|
17 |
model="gpt-3.5-turbo",
|
18 |
temperature=temperature,
|
19 |
messages=[{"role": "user", "content": input}],
|