AlStable commited on
Commit
fcf476a
1 Parent(s): 68136c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ for i in range(len(models)):
29
  def process1(prompt):
30
  modelSelected=''
31
  for i in range(len(models)):
32
- if message.find(models[i].prefix)!=-1:
33
  modelSelected=models[i].path
34
  gradio.Interface.load(modelSelected)
35
  if (modelSelected==''):
 
29
  def process1(prompt):
30
  modelSelected=''
31
  for i in range(len(models)):
32
+ if prompt.find(models[i].prefix)!=-1:
33
  modelSelected=models[i].path
34
  gradio.Interface.load(modelSelected)
35
  if (modelSelected==''):