Culda commited on
Commit
9f14500
·
1 Parent(s): 6c841a2
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ HF_TOKEN = os.getenv("HF_TOKEN")
18
  #
19
  # login()
20
 
21
- dtype = torch.float16
22
  device = "cuda" if torch.cuda.is_available() else "cpu"
23
 
24
  base_model = "black-forest-labs/FLUX.1-dev"
@@ -47,7 +47,7 @@ def get_system_memory():
47
  }
48
 
49
 
50
- @spaces.GPU(duration=30)
51
  def inpaint(
52
  image,
53
  mask,
 
18
  #
19
  # login()
20
 
21
+ dtype = torch.bfloat16
22
  device = "cuda" if torch.cuda.is_available() else "cpu"
23
 
24
  base_model = "black-forest-labs/FLUX.1-dev"
 
47
  }
48
 
49
 
50
+ @spaces.GPU(duration=60)
51
  def inpaint(
52
  image,
53
  mask,