Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def invoke(openai_api_key, task):
|
|
14 |
if not task:
|
15 |
raise gr.Error("Task is required.")
|
16 |
|
17 |
-
raise gr.Error("Please clone space due to local code execution.")
|
18 |
|
19 |
with lock:
|
20 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
|
|
14 |
if not task:
|
15 |
raise gr.Error("Task is required.")
|
16 |
|
17 |
+
#raise gr.Error("Please clone space due to local code execution.")
|
18 |
|
19 |
with lock:
|
20 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|