Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ if st.button('Сгенерировать код'):
|
|
18 |
response = openai.Edit.create(
|
19 |
model="code-davinci-edit-001",
|
20 |
prompt=prompt,
|
|
|
21 |
temperature=0.5,
|
22 |
max_tokens=1048,
|
23 |
n=1,
|
|
|
18 |
response = openai.Edit.create(
|
19 |
model="code-davinci-edit-001",
|
20 |
prompt=prompt,
|
21 |
+
instruction="add and fix the code"
|
22 |
temperature=0.5,
|
23 |
max_tokens=1048,
|
24 |
n=1,
|