Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,11 @@ import tempfile
|
|
| 6 |
import base64
|
| 7 |
from io import BytesIO
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
# Initialize the image generation tool
|
| 10 |
image_generation_tool = Tool.from_space(
|
| 11 |
"black-forest-labs/FLUX.1-schnell",
|
|
|
|
| 6 |
import base64
|
| 7 |
from io import BytesIO
|
| 8 |
|
| 9 |
+
from huggingface_hub import login
|
| 10 |
+
|
| 11 |
+
login()
|
| 12 |
+
|
| 13 |
+
|
| 14 |
# Initialize the image generation tool
|
| 15 |
image_generation_tool = Tool.from_space(
|
| 16 |
"black-forest-labs/FLUX.1-schnell",
|