neo7team commited on
Commit
ae718ef
·
verified ·
1 Parent(s): e3ac9ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ from deep_translator import GoogleTranslator
12
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
13
  API_TOKEN = os.getenv("HF_READ_TOKEN")
14
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
15
- timeout = 100
16
 
17
  def convert_to_png(image):
18
  """Convert any image format to true PNG format"""
 
12
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
13
  API_TOKEN = os.getenv("HF_READ_TOKEN")
14
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
15
+ timeout = 9000000
16
 
17
  def convert_to_png(image):
18
  """Convert any image format to true PNG format"""