Spaces:
Obotu
/
Build error

Obotu commited on
Commit
bfaccb0
1 Parent(s): d809cf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, I don't have information on that."
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