Nymbo commited on
Commit
f0a5e9f
1 Parent(s): 3881c34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  import torch
3
- import spaces
4
  from diffusers import FluxInpaintPipeline
5
  from PIL import Image, ImageFile
6
 
@@ -43,7 +43,7 @@ def duplicate_horizontally(img):
43
  return new_image
44
 
45
 
46
- @spaces.GPU
47
  def generate(image, prompt_description, prompt_user, progress=gr.Progress(track_tqdm=True)):
48
  prompt_structure = "The two-panel image showcases the logo on the left and the application on the right, [LEFT] the left panel is showing "+prompt_description+" [RIGHT] this logo is applied to "
49
  prompt = prompt_structure + prompt_user
 
1
  import gradio as gr
2
  import torch
3
+ # import spaces
4
  from diffusers import FluxInpaintPipeline
5
  from PIL import Image, ImageFile
6
 
 
43
  return new_image
44
 
45
 
46
+ # @spaces.GPU
47
  def generate(image, prompt_description, prompt_user, progress=gr.Progress(track_tqdm=True)):
48
  prompt_structure = "The two-panel image showcases the logo on the left and the application on the right, [LEFT] the left panel is showing "+prompt_description+" [RIGHT] this logo is applied to "
49
  prompt = prompt_structure + prompt_user