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