ruslanmv commited on
Commit
94fdcd5
·
1 Parent(s): fe4bf7e

Update frontend.py

Browse files
Files changed (1) hide show
  1. flux_app/frontend.py +1 -3
flux_app/frontend.py CHANGED
@@ -2,7 +2,7 @@
2
  import gradio as gr
3
  import sys
4
  import os
5
-
6
  # Add the parent directory to sys.path
7
  parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
8
  sys.path.insert(0, parent_dir)
@@ -15,8 +15,6 @@ from flux_app.lora_handling import (
15
  unload_lora_weights, load_lora_weights_into_pipeline, update_selection
16
  )
17
  from flux_app.utilities import randomize_seed_if_needed, calculateDuration # Absolute import
18
- import spaces
19
-
20
  # Import the prompt enhancer generate function from the new module
21
  from flux_app.enhance import generate
22
 
 
2
  import gradio as gr
3
  import sys
4
  import os
5
+ import spaces
6
  # Add the parent directory to sys.path
7
  parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
8
  sys.path.insert(0, parent_dir)
 
15
  unload_lora_weights, load_lora_weights_into_pipeline, update_selection
16
  )
17
  from flux_app.utilities import randomize_seed_if_needed, calculateDuration # Absolute import
 
 
18
  # Import the prompt enhancer generate function from the new module
19
  from flux_app.enhance import generate
20