Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -112,8 +112,8 @@ if uploaded_image:
|
|
112 |
.get("message", {})
|
113 |
.get("content", "No caption generated.")
|
114 |
)
|
115 |
-
|
116 |
-
st.text_area("Generated
|
117 |
except Exception as e:
|
118 |
st.error(f"Error processing the response: {e}")
|
119 |
else:
|
|
|
112 |
.get("message", {})
|
113 |
.get("content", "No caption generated.")
|
114 |
)
|
115 |
+
|
116 |
+
st.text_area("Prompt Generated", caption, height=100, key="caption_output")
|
117 |
except Exception as e:
|
118 |
st.error(f"Error processing the response: {e}")
|
119 |
else:
|