DemiPoto commited on
Commit
4227e72
·
verified ·
1 Parent(s): fb67142

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -141,6 +141,7 @@ def gen_fn(model_str, prompt):
141
  m=models_load[model_str](f'{prompt} {noise}')
142
  except Exception as error :
143
  print("error : " + model_str)
 
144
 
145
  return m
146
 
 
141
  m=models_load[model_str](f'{prompt} {noise}')
142
  except Exception as error :
143
  print("error : " + model_str)
144
+ m=None
145
 
146
  return m
147