coldn00dl3s commited on
Commit
9cd9f70
·
verified ·
1 Parent(s): 896577c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -123,9 +123,8 @@ elif conversion_type == "Clinical Notes to FHIR":
123
  if st.button("Convert"):
124
  try:
125
  data = {"note_content": note_content}
126
- json_data = json.dumps(data)
127
 
128
- response = requests.post("https://fhir-api-9jsn.onrender.com/convert_notes", json=json_data)
129
  if response.status_code == 200:
130
  result_text = response.json().get("output", "")
131
  if result_text:
 
123
  if st.button("Convert"):
124
  try:
125
  data = {"note_content": note_content}
 
126
 
127
+ response = requests.post("https://fhir-api-9jsn.onrender.com/convert_notes", json=data)
128
  if response.status_code == 200:
129
  result_text = response.json().get("output", "")
130
  if result_text: