Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ class MoonDream():
|
|
30 |
img = self.model.encode_image(img)
|
31 |
res = self.model.answer_question(question=question, image_embeds=img, tokenizer=self.tokenizer)
|
32 |
yield res
|
33 |
-
|
34 |
|
35 |
def _respond_one(question, img):
|
36 |
txt = ""
|
|
|
30 |
img = self.model.encode_image(img)
|
31 |
res = self.model.answer_question(question=question, image_embeds=img, tokenizer=self.tokenizer)
|
32 |
yield res
|
33 |
+
return
|
34 |
|
35 |
def _respond_one(question, img):
|
36 |
txt = ""
|