Spaces:
Runtime error
Runtime error
SMeyersMrOvkill
commited on
Commit
•
9585f3d
1
Parent(s):
12335e8
Pls
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def xform_image_description(img, inst):
|
|
91 |
return res.choices[0].text[len(prompt):].split("```")[0]
|
92 |
|
93 |
def simple_desc(img, prompt):
|
94 |
-
gen = md(prompt, img)
|
95 |
total = ""
|
96 |
for resp in gen:
|
97 |
print(total := total + resp)
|
|
|
91 |
return res.choices[0].text[len(prompt):].split("```")[0]
|
92 |
|
93 |
def simple_desc(img, prompt):
|
94 |
+
gen = md(prompt, [img])
|
95 |
total = ""
|
96 |
for resp in gen:
|
97 |
print(total := total + resp)
|