GenAIJake commited on
Commit
df05956
·
verified ·
1 Parent(s): b28a21a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,12 +3,12 @@ import spaces
3
  from huggingface_hub import HfApi
4
 
5
  @spaces.GPU(duration=60)
6
- def generate_image(prompt, negative_prompt="", seed=-331, width=512, height=512, guidance_scale=3.5, num_inference_steps=20):
7
  # This function will be called by gr.load(), so we don't need to implement it here
8
  pass
9
 
10
  # Load the pre-configured Flux model interface
11
- flux_demo = gr.load("GenAIJake/d3xt3r")
12
 
13
  # Create the Gradio interface
14
  with gr.Blocks() as demo:
 
3
  from huggingface_hub import HfApi
4
 
5
  @spaces.GPU(duration=60)
6
+ def generate_image(prompt, negative_prompt="", seed=-1, width=512, height=512, guidance_scale=7.5, num_inference_steps=50):
7
  # This function will be called by gr.load(), so we don't need to implement it here
8
  pass
9
 
10
  # Load the pre-configured Flux model interface
11
+ demo = gr.load("GenAIJake/d3xt3r")
12
 
13
  # Create the Gradio interface
14
  with gr.Blocks() as demo: