Update app3.py
Browse files
app3.py
CHANGED
@@ -199,7 +199,8 @@ def gen_fn(model_str, prompt):
|
|
199 |
return None
|
200 |
noise = str(randint(0, 9999))
|
201 |
try :
|
202 |
-
m=models_load[model_str](f'{prompt} {noise}')
|
|
|
203 |
except Exception as error :
|
204 |
print("error : " + model_str)
|
205 |
m=False
|
|
|
199 |
return None
|
200 |
noise = str(randint(0, 9999))
|
201 |
try :
|
202 |
+
#m=models_load[model_str](f'{prompt} {noise}')
|
203 |
+
m=models_load[model_str].fn(prompt=f'{prompt} {noise}', negative_prompt="", height = 1216 , width = 800)
|
204 |
except Exception as error :
|
205 |
print("error : " + model_str)
|
206 |
m=False
|