Commit
·
6a042d1
1
Parent(s):
9447f4e
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ if st.button('Get AI Response'):
|
|
41 |
with st.spinner('Fetching AI response...'):
|
42 |
# 构造请求
|
43 |
# FastAPI 服务器的 URL
|
44 |
-
fastapi_server_url = "https://binqiangliu-
|
45 |
headers = {
|
46 |
"Content-Type": "application/json",
|
47 |
"Authorization": f"Bearer {HUGGINGFACEHUB_API_TOKEN}"
|
|
|
41 |
with st.spinner('Fetching AI response...'):
|
42 |
# 构造请求
|
43 |
# FastAPI 服务器的 URL
|
44 |
+
fastapi_server_url = "https://binqiangliu-webpagereaderfastapi.hf.space/get_ai_response"
|
45 |
headers = {
|
46 |
"Content-Type": "application/json",
|
47 |
"Authorization": f"Bearer {HUGGINGFACEHUB_API_TOKEN}"
|