Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,12 +26,7 @@ custom_model = "models/dreamlike-art/dreamlike-diffusion-1.0"
|
|
26 |
|
27 |
def selectModel(message):
|
28 |
message = message.lower()
|
29 |
-
|
30 |
-
if message.find(models[i].prefix)!=-1:
|
31 |
-
c_model=models[i].path
|
32 |
-
logging.warning('model selected = '+c_model)
|
33 |
-
return c_model
|
34 |
-
c_model=models[i].path
|
35 |
logging.warning('model selected = '+c_model)
|
36 |
return c_model
|
37 |
|
|
|
26 |
|
27 |
def selectModel(message):
|
28 |
message = message.lower()
|
29 |
+
c_model=models[0]
|
|
|
|
|
|
|
|
|
|
|
30 |
logging.warning('model selected = '+c_model)
|
31 |
return c_model
|
32 |
|