AlStable commited on
Commit
a9e23d1
1 Parent(s): 979d507

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
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
- for i in range(len(models)):
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