VideoAditor commited on
Commit
6a7030b
1 Parent(s): 710169e

Update fluxgym-main/app.py

Browse files
Files changed (1) hide show
  1. fluxgym-main/app.py +4 -0
fluxgym-main/app.py CHANGED
@@ -2,8 +2,12 @@ import os
2
  import sys
3
  os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
4
  os.environ['GRADIO_ANALYTICS_ENABLED'] = '0'
 
 
 
5
  sys.path.insert(0, os.getcwd())
6
  sys.path.append(os.path.join(os.path.dirname(__file__), 'sd-scripts'))
 
7
  import subprocess
8
  import gradio as gr
9
  from PIL import Image
 
2
  import sys
3
  os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
4
  os.environ['GRADIO_ANALYTICS_ENABLED'] = '0'
5
+
6
+ sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'fluxgym-main'))
7
+
8
  sys.path.insert(0, os.getcwd())
9
  sys.path.append(os.path.join(os.path.dirname(__file__), 'sd-scripts'))
10
+
11
  import subprocess
12
  import gradio as gr
13
  from PIL import Image