Purple11 commited on
Commit
c68eb58
·
1 Parent(s): d807056

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -351,7 +351,7 @@ def main():
351
 
352
  class_name = trainclass
353
 
354
- query_text ="a "+prompt.split()[1]+" of a "+class_name
355
  c_split = model.cond_stage_model.tokenizer.tokenize(query_text)
356
 
357
  sen_text_embedding = model.get_learned_conditioning(query_text)
 
351
 
352
  class_name = trainclass
353
 
354
+ query_text ="a photograph of a "+class_name
355
  c_split = model.cond_stage_model.tokenizer.tokenize(query_text)
356
 
357
  sen_text_embedding = model.get_learned_conditioning(query_text)