Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from streamlit_chat import message
|
|
5 |
|
6 |
|
7 |
api_token = os.getenv("api_token")
|
8 |
-
|
9 |
@st.cache
|
10 |
def query(payload, model_id, api_token):
|
11 |
headers = {"Authorization": f"Bearer {api_token}"}
|
|
|
5 |
|
6 |
|
7 |
api_token = os.getenv("api_token")
|
8 |
+
model_id = "deepset/roberta-base-squad2"
|
9 |
@st.cache
|
10 |
def query(payload, model_id, api_token):
|
11 |
headers = {"Authorization": f"Bearer {api_token}"}
|