gokaygokay commited on
Commit
eb3bbe6
·
verified ·
1 Parent(s): 2bfe478

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ dtype = torch.float16
18
 
19
  # AuraFlow model
20
  pipe = AuraFlowPipeline.from_pretrained(
21
- "fal/AuraFlow",
22
  torch_dtype=torch.float16
23
  ).to(device)
24
 
@@ -117,7 +117,7 @@ def generate_image(prompt, negative_prompt, seed, randomize_seed, width, height,
117
 
118
  return image, seed
119
 
120
- @spaces.GPU(duration=200)
121
  def process_workflow(image, text_prompt, vlm_model_choice, use_enhancer, model_choice, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
122
  if image is not None:
123
  # Convert image to PIL if it's not already
 
18
 
19
  # AuraFlow model
20
  pipe = AuraFlowPipeline.from_pretrained(
21
+ "fal/AuraFlow-v0.2",
22
  torch_dtype=torch.float16
23
  ).to(device)
24
 
 
117
 
118
  return image, seed
119
 
120
+ @spaces.GPU(duration=100)
121
  def process_workflow(image, text_prompt, vlm_model_choice, use_enhancer, model_choice, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
122
  if image is not None:
123
  # Convert image to PIL if it's not already