Spaces:
Running
on
Zero
Running
on
Zero
SMeyersMrOvkill
commited on
Commit
·
12335e8
1
Parent(s):
1a6e01a
APPY! WAKE UPgit add app.py !
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(
|
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)
|