Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
•
c569a26
1
Parent(s):
9af016f
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,8 @@ def modify_caption(caption: str) -> str:
|
|
42 |
@spaces.GPU
|
43 |
def run_example(image):
|
44 |
image = Image.fromarray(image)
|
45 |
-
|
|
|
46 |
|
47 |
# Ensure the image is in RGB mode
|
48 |
if image.mode != "RGB":
|
|
|
42 |
@spaces.GPU
|
43 |
def run_example(image):
|
44 |
image = Image.fromarray(image)
|
45 |
+
task_prompt = "<DESCRIPTION>"
|
46 |
+
prompt = task_prompt + "Describe this image in great detail."
|
47 |
|
48 |
# Ensure the image is in RGB mode
|
49 |
if image.mode != "RGB":
|