Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -351,7 +351,7 @@ def main():
|
|
351 |
|
352 |
class_name = trainclass
|
353 |
|
354 |
-
query_text ="a
|
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)
|