Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -1289,8 +1289,8 @@ def display_images_and_wikipedia_summaries(num_columns=4):
|
|
1289 |
|
1290 |
# Add text input for image file
|
1291 |
#image_text_input = st.text_input(f"Image Prompt for {image_file}", key=f"image_prompt_{image_file}")
|
1292 |
-
|
1293 |
-
image_text_input = st.text_input(key=f"image_prompt_{image_file}")
|
1294 |
if (len(image_text_input) > 0):
|
1295 |
#image_response = process_image(image, image_text_input)
|
1296 |
image_response = process_image(image_file, image_text_input)
|
|
|
1289 |
|
1290 |
# Add text input for image file
|
1291 |
#image_text_input = st.text_input(f"Image Prompt for {image_file}", key=f"image_prompt_{image_file}")
|
1292 |
+
image_text_input = st.text_input(f"Image Prompt:", key=f"image_prompt_{image_file}")
|
1293 |
+
#image_text_input = st.text_input(key=f"image_prompt_{image_file}")
|
1294 |
if (len(image_text_input) > 0):
|
1295 |
#image_response = process_image(image, image_text_input)
|
1296 |
image_response = process_image(image_file, image_text_input)
|