Spaces:
Running
Running
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 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
13 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
14 |
timeout = 300 # タイムアウトを300秒に設定
|
|
|
8 |
|
9 |
app = Flask(__name__)
|
10 |
|
11 |
+
API_URL = "https://api-inference.huggingface.co/models/dreamlike-art/dreamlike-anime-1.0"
|
12 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
13 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
14 |
timeout = 300 # タイムアウトを300秒に設定
|