Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,4 +61,4 @@ def function1(code):
|
|
61 |
openai.api_key = 'YOUR_OPENAI_API_KEY'
|
62 |
response = openai.Completion.create(
|
63 |
engine='code-davinci-002',
|
64 |
-
prompt=f'Translate this Python code to executable code: {code}'\
|
|
|
61 |
openai.api_key = 'YOUR_OPENAI_API_KEY'
|
62 |
response = openai.Completion.create(
|
63 |
engine='code-davinci-002',
|
64 |
+
prompt=f'Translate this Python code to executable code: {code}'\
|