Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ if st.button("Predict"):
|
|
| 30 |
result_data = response.json()
|
| 31 |
|
| 32 |
# Display the result in a bigger font and inside a text box
|
| 33 |
-
st.markdown(f"## Result")
|
| 34 |
st.markdown(f"<div style='background-color: #f5f5f5; padding: 20px; border-radius: 5px;'><span style='font-size: 24px;'>{result_data.get('res')}</span></div>", unsafe_allow_html=True)
|
| 35 |
else:
|
| 36 |
st.error(f"API Error: {response.status_code}. {response.text}")
|
|
|
|
| 30 |
result_data = response.json()
|
| 31 |
|
| 32 |
# Display the result in a bigger font and inside a text box
|
| 33 |
+
st.markdown(f"## Result ")
|
| 34 |
st.markdown(f"<div style='background-color: #f5f5f5; padding: 20px; border-radius: 5px;'><span style='font-size: 24px;'>{result_data.get('res')}</span></div>", unsafe_allow_html=True)
|
| 35 |
else:
|
| 36 |
st.error(f"API Error: {response.status_code}. {response.text}")
|