Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -1807,7 +1807,7 @@ def main():
|
|
1807 |
elif option == "Image":
|
1808 |
text = "Help me understand what is in this picture and list ten facts as markdown outline with appropriate emojis that describes what you see."
|
1809 |
text_input = st.text_input(label="Enter text prompt to use with Image context.", value=text)
|
1810 |
-
image_input = st.file_uploader("Upload an image", type=["
|
1811 |
image_response = process_image(image_input, text_input)
|
1812 |
|
1813 |
elif option == "Audio":
|
|
|
1807 |
elif option == "Image":
|
1808 |
text = "Help me understand what is in this picture and list ten facts as markdown outline with appropriate emojis that describes what you see."
|
1809 |
text_input = st.text_input(label="Enter text prompt to use with Image context.", value=text)
|
1810 |
+
image_input = st.file_uploader("Upload an image", type=["png"])
|
1811 |
image_response = process_image(image_input, text_input)
|
1812 |
|
1813 |
elif option == "Audio":
|