Update app.py
Browse files
app.py
CHANGED
@@ -141,7 +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 |
-
m=
|
145 |
|
146 |
return m
|
147 |
|
|
|
141 |
m=models_load[model_str](f'{prompt} {noise}')
|
142 |
except Exception as error :
|
143 |
print("error : " + model_str)
|
144 |
+
m=False
|
145 |
|
146 |
return m
|
147 |
|