Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -940,8 +940,8 @@ def display_images_and_wikipedia_summaries(num_columns=4):
|
|
940 |
|
941 |
# Add text input for image file
|
942 |
#image_text_input = st.text_input(f"Image Prompt for {image_file}", key=f"image_prompt_{image_file}")
|
943 |
-
|
944 |
-
image_text_input = st.text_input(key=f"image_prompt_{image_file}")
|
945 |
if (len(image_text_input) > 0):
|
946 |
#image_response = process_image(image, image_text_input)
|
947 |
image_response = process_image(image_file, image_text_input)
|
|
|
940 |
|
941 |
# Add text input for image file
|
942 |
#image_text_input = st.text_input(f"Image Prompt for {image_file}", key=f"image_prompt_{image_file}")
|
943 |
+
image_text_input = st.text_input(f"Image Prompt:", key=f"image_prompt_{image_file}")
|
944 |
+
#image_text_input = st.text_input(key=f"image_prompt_{image_file}")
|
945 |
if (len(image_text_input) > 0):
|
946 |
#image_response = process_image(image, image_text_input)
|
947 |
image_response = process_image(image_file, image_text_input)
|