Spaces:
Sleeping
Sleeping
coldn00dl3s
commited on
Update app.py
Browse files
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=
|
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:
|