lordspline commited on
Commit
4410066
1 Parent(s): 80287f4

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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,