NiranjanShetty
commited on
Commit
•
6df91ee
1
Parent(s):
3364a77
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,14 @@ def test_model(test_file):
|
|
63 |
return accuracy
|
64 |
|
65 |
# Streamlit app
|
66 |
-
st.title("Doctor's Handwritten Prescription Prediction")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
# Single input prediction
|
69 |
input_text = st.text_input("Enter the partial or misspelled drug name:")
|
@@ -85,4 +92,3 @@ if uploaded_file is not None:
|
|
85 |
if st.button("Start Batch Testing"):
|
86 |
accuracy = test_model(uploaded_file)
|
87 |
st.write(f"Accuracy: {accuracy:.2f}%")
|
88 |
-
|
|
|
63 |
return accuracy
|
64 |
|
65 |
# Streamlit app
|
66 |
+
st.title("PharmaPredict: Doctor's Handwritten Prescription Prediction")
|
67 |
+
|
68 |
+
# Add the front-end tag line
|
69 |
+
st.markdown("""
|
70 |
+
<h3 style='text-align: center; color: grey;'>
|
71 |
+
Empowering doctors with the art of simplicity: PharmaPredict brings the future of digital prescriptions to your fingertips, where technology meets care.
|
72 |
+
</h3>
|
73 |
+
""", unsafe_allow_html=True)
|
74 |
|
75 |
# Single input prediction
|
76 |
input_text = st.text_input("Enter the partial or misspelled drug name:")
|
|
|
92 |
if st.button("Start Batch Testing"):
|
93 |
accuracy = test_model(uploaded_file)
|
94 |
st.write(f"Accuracy: {accuracy:.2f}%")
|
|