Unosoftware commited on
Commit
980834f
·
verified ·
1 Parent(s): cbac430

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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",