Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import requests
|
|
2 |
import streamlit as st
|
3 |
import os
|
4 |
|
5 |
-
API_URL = https://qe55p8afio98s0u3.us-east-1.aws.endpoints.huggingface.cloud
|
6 |
API_KEY = os.getenv('API_KEY')
|
7 |
|
8 |
headers = {
|
@@ -15,5 +15,5 @@ def query(payload):
|
|
15 |
return response.json()
|
16 |
|
17 |
output = query({
|
18 |
-
"inputs": "
|
19 |
})
|
|
|
2 |
import streamlit as st
|
3 |
import os
|
4 |
|
5 |
+
API_URL = 'https://qe55p8afio98s0u3.us-east-1.aws.endpoints.huggingface.cloud'
|
6 |
API_KEY = os.getenv('API_KEY')
|
7 |
|
8 |
headers = {
|
|
|
15 |
return response.json()
|
16 |
|
17 |
output = query({
|
18 |
+
"inputs": "Write instructions to teach anyone to write a discharge plan. List the entities, features and relationships to CCDA and FHIR objects in boldface. ",
|
19 |
})
|