Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ if st.button("🚦 Analyze Text"):
|
|
78 |
|
79 |
# 图片上传与 OCR
|
80 |
st.markdown("---")
|
81 |
-
st.subheader("2.
|
82 |
uploaded_file = st.file_uploader("Upload an image (JPG/PNG)", type=["jpg","jpeg","png"])
|
83 |
if uploaded_file:
|
84 |
image = Image.open(uploaded_file)
|
@@ -120,4 +120,4 @@ if st.session_state.history:
|
|
120 |
radar_fig.update_traces(line_color='black')
|
121 |
st.plotly_chart(radar_fig)
|
122 |
else:
|
123 |
-
st.info("⚠️ No classification data available yet.")
|
|
|
78 |
|
79 |
# 图片上传与 OCR
|
80 |
st.markdown("---")
|
81 |
+
st.subheader("2. Image OCR")
|
82 |
uploaded_file = st.file_uploader("Upload an image (JPG/PNG)", type=["jpg","jpeg","png"])
|
83 |
if uploaded_file:
|
84 |
image = Image.open(uploaded_file)
|
|
|
120 |
radar_fig.update_traces(line_color='black')
|
121 |
st.plotly_chart(radar_fig)
|
122 |
else:
|
123 |
+
st.info("⚠️ No classification data available yet.")
|