BowoZZZ commited on
Commit
dc22fb6
·
verified ·
1 Parent(s): a21a8cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -9,7 +9,6 @@ API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-
9
  headers = {"Authorization": f"Bearer {os.getenv('HF')}"}
10
 
11
  # Function to query the Hugging Face API
12
- @st.cache_data(ttl=60)
13
  def query(payload):
14
  response = requests.post(API_URL, headers=headers, json=payload)
15
  return response.content
 
9
  headers = {"Authorization": f"Bearer {os.getenv('HF')}"}
10
 
11
  # Function to query the Hugging Face API
 
12
  def query(payload):
13
  response = requests.post(API_URL, headers=headers, json=payload)
14
  return response.content