Towhidul commited on
Commit
1918c7c
·
1 Parent(s): ecd740b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -15,7 +15,6 @@ HF_SPACES_API_KEY = st.secrets["HF_token"]
15
  API_URL = "https://api-inference.huggingface.co/models/microsoft/prophetnet-large-uncased-squad-qg"
16
  headers = {"Authorization": HF_SPACES_API_KEY}
17
 
18
- # @st.cache(suppress_st_warning=True)
19
  def query(payload):
20
  response = requests.post(API_URL, headers=headers, json=payload)
21
  return response.json()
 
15
  API_URL = "https://api-inference.huggingface.co/models/microsoft/prophetnet-large-uncased-squad-qg"
16
  headers = {"Authorization": HF_SPACES_API_KEY}
17
 
 
18
  def query(payload):
19
  response = requests.post(API_URL, headers=headers, json=payload)
20
  return response.json()