Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,8 +76,8 @@ if uploaded_image and API_KEY:
|
|
| 76 |
.get("message", {})
|
| 77 |
.get("content", "No caption generated.")
|
| 78 |
)
|
| 79 |
-
|
| 80 |
-
st.text_area("
|
| 81 |
|
| 82 |
except Exception as e:
|
| 83 |
st.error(f"Error processing the response: {e}")
|
|
|
|
| 76 |
.get("message", {})
|
| 77 |
.get("content", "No caption generated.")
|
| 78 |
)
|
| 79 |
+
|
| 80 |
+
st.text_area("Generated Prompt", caption, height=200, key="caption_output")
|
| 81 |
|
| 82 |
except Exception as e:
|
| 83 |
st.error(f"Error processing the response: {e}")
|