Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def main():
|
|
109 |
if result:
|
110 |
st.write("**Medical Advice:**")
|
111 |
# Check the response structure and extract the answer appropriately
|
112 |
-
answer = result.get('answer') if 'answer' in result else "Sorry,
|
113 |
st.write(answer)
|
114 |
|
115 |
# User input for address to find nearby clinics/pharmacies
|
|
|
109 |
if result:
|
110 |
st.write("**Medical Advice:**")
|
111 |
# Check the response structure and extract the answer appropriately
|
112 |
+
answer = result.get('answer') if 'answer' in result else "Sorry, how about i contact a doctor."
|
113 |
st.write(answer)
|
114 |
|
115 |
# User input for address to find nearby clinics/pharmacies
|