Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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"""
|