Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -50,6 +50,10 @@ def bot(
|
|
| 50 |
replit_password_in,
|
| 51 |
local,
|
| 52 |
):
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
start_time = time.time()
|
| 54 |
devon = DevOn(
|
| 55 |
editor_image=image_temp,
|
|
|
|
| 50 |
replit_password_in,
|
| 51 |
local,
|
| 52 |
):
|
| 53 |
+
if len(multion_api_key_in) == 0:
|
| 54 |
+
raise gr.Error("MultiOn API Key is Required.")
|
| 55 |
+
if len(openai_api_key_in) == 0:
|
| 56 |
+
raise gr.Error("OpenAI API Key is Required.")
|
| 57 |
start_time = time.time()
|
| 58 |
devon = DevOn(
|
| 59 |
editor_image=image_temp,
|