ajflorez commited on
Commit
8d6988a
·
verified ·
1 Parent(s): c3863e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -178,7 +178,7 @@ def main_function(plan_name, uploaded_file, interference = True, aps_int = 0, ap
178
  plan_in = 1 - plan_grayscale
179
 
180
  elif plan_name == "Upload your own image" and uploaded_file is None:
181
- raise gradio.Warning("Deafult plan processed. Image was not loaded 😒.", duration=5)
182
  numero = "100"
183
  plan_in = np.array(Image.open(f"{path_main}Scennarios init/Scennarios B/{numero}.png")) / 255
184
 
 
178
  plan_in = 1 - plan_grayscale
179
 
180
  elif plan_name == "Upload your own image" and uploaded_file is None:
181
+ # raise gradio.Warning("Deafult plan processed. Image was not loaded 😒.", duration=5)
182
  numero = "100"
183
  plan_in = np.array(Image.open(f"{path_main}Scennarios init/Scennarios B/{numero}.png")) / 255
184