pakdeveloper commited on
Commit
92f0634
·
verified ·
1 Parent(s): 36f6e54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -8,13 +8,7 @@ os.chdir("Fooocus-main") # Use "Fooocus" if you renamed the folder
8
  os.system("pip install pygit2==1.15.1")
9
 
10
  # Import Fooocus
11
- from entry_with_update import main
12
-
13
- # Define a function to run Fooocus
14
- def run_fooocus(prompt):
15
- # Call Fooocus with the provided prompt
16
- output_image_path = main(prompt)
17
- return output_image_path
18
 
19
  # Create a Gradio interface
20
  iface = gr.Interface(
 
8
  os.system("pip install pygit2==1.15.1")
9
 
10
  # Import Fooocus
11
+ from entry_with_update import run_fooocus
 
 
 
 
 
 
12
 
13
  # Create a Gradio interface
14
  iface = gr.Interface(