Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ if st.button("Predict"):
|
|
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: #
|
35 |
else:
|
36 |
st.error(f"API Error: {response.status_code}. {response.text}")
|
37 |
|
|
|
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: #fffcfc; 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}")
|
37 |
|