Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,11 @@ if not os.path.exists('icon.png'):
|
|
19 |
os.system("wget -O icon.png https://huggingface.co/spaces/K00B404/FLUX.1-Dev-Serverless-darn-enhanced-prompt/resolve/main/edge.png")
|
20 |
API_URL_DEV = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
21 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
|
|
|
|
|
|
|
|
|
|
22 |
timeout = 100
|
23 |
|
24 |
|
|
|
19 |
os.system("wget -O icon.png https://huggingface.co/spaces/K00B404/FLUX.1-Dev-Serverless-darn-enhanced-prompt/resolve/main/edge.png")
|
20 |
API_URL_DEV = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
21 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
22 |
+
|
23 |
+
chatter="K00B404/transcript_image_generator"
|
24 |
+
# Initialize the API client for the chatbot
|
25 |
+
chatbot_client = Client(chatter)
|
26 |
+
|
27 |
timeout = 100
|
28 |
|
29 |
|