Chris Addis commited on
Commit ·
754338e
1
Parent(s): 77c5492
add photograph
Browse files- app.py +1 -2
- library/utils_prompt.py +1 -1
app.py
CHANGED
|
@@ -152,8 +152,7 @@ def create_demo():
|
|
| 152 |
content_type = gr.Radio(
|
| 153 |
choices=["Museum Object", "Photography"],
|
| 154 |
label="Content Type",
|
| 155 |
-
value="Museum Object"
|
| 156 |
-
info="Choose the type of content in your images"
|
| 157 |
)
|
| 158 |
|
| 159 |
gr.Markdown("### Uploaded Images")
|
|
|
|
| 152 |
content_type = gr.Radio(
|
| 153 |
choices=["Museum Object", "Photography"],
|
| 154 |
label="Content Type",
|
| 155 |
+
value="Museum Object"
|
|
|
|
| 156 |
)
|
| 157 |
|
| 158 |
gr.Markdown("### Uploaded Images")
|
library/utils_prompt.py
CHANGED
|
@@ -11,7 +11,7 @@ def prompt_new(title=None):
|
|
| 11 |
title_info = {}
|
| 12 |
else:
|
| 13 |
title_info = f"(titled: {title})"
|
| 14 |
-
return f"Return
|
| 15 |
|
| 16 |
def prompt_1(title=None):
|
| 17 |
if title == None:
|
|
|
|
| 11 |
title_info = {}
|
| 12 |
else:
|
| 13 |
title_info = f"(titled: {title})"
|
| 14 |
+
return f"Return text description for this image {title_info}:"
|
| 15 |
|
| 16 |
def prompt_1(title=None):
|
| 17 |
if title == None:
|