ameerazam08 commited on
Commit
75bbc61
1 Parent(s): b0d4d2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -7,6 +7,8 @@ from controlnet_flux import FluxControlNetModel
7
  from transformer_flux import FluxTransformer2DModel
8
  from pipeline_flux_controlnet_inpaint import FluxControlNetInpaintingPipeline
9
  import spaces
 
 
10
 
11
  check_min_version("0.30.2")
12
 
@@ -109,7 +111,6 @@ with gr.Blocks() as demo:
109
  ]
110
  )
111
 
112
- import huggingface_hub
113
- huggingface_hub.login(os.getenv('HF_TOKEN_FLUX'))
114
 
115
  demo.launch(debug=False, show_error=True,share=True)
 
7
  from transformer_flux import FluxTransformer2DModel
8
  from pipeline_flux_controlnet_inpaint import FluxControlNetInpaintingPipeline
9
  import spaces
10
+ import huggingface_hub
11
+ huggingface_hub.login(os.getenv('HF_TOKEN_FLUX'))
12
 
13
  check_min_version("0.30.2")
14
 
 
111
  ]
112
  )
113
 
114
+
 
115
 
116
  demo.launch(debug=False, show_error=True,share=True)