Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,4 +74,4 @@ def function1(code):
|
|
| 74 |
openai.api_key = 'YOUR_OPENAI_API_KEY'
|
| 75 |
response = openai.Completion.create(
|
| 76 |
engine='code-davinci-002',
|
| 77 |
-
prompt=f'Translate this Python code to executable code: {code}'\
|
|
|
|
| 74 |
openai.api_key = 'YOUR_OPENAI_API_KEY'
|
| 75 |
response = openai.Completion.create(
|
| 76 |
engine='code-davinci-002',
|
| 77 |
+
prompt=f'Translate this Python code to executable code: {code}'\n
|