Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from deep_translator import GoogleTranslator
|
|
| 8 |
|
| 9 |
app = Flask(__name__)
|
| 10 |
|
| 11 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
| 12 |
timeout = 50000 # タイムアウトを300秒に設定
|
| 13 |
|
| 14 |
# Function to query the API and return the generated image
|
|
|
|
| 8 |
|
| 9 |
app = Flask(__name__)
|
| 10 |
|
| 11 |
+
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
| 12 |
timeout = 50000 # タイムアウトを300秒に設定
|
| 13 |
|
| 14 |
# Function to query the API and return the generated image
|