LPX55 commited on
Commit
fb0d27d
Β·
verified Β·
1 Parent(s): 6c9081f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ processor = AutoProcessor.from_pretrained("daniel3303/QwenStoryteller")
16
 
17
  @spaces.GPU()
18
  @torch.no_grad()
19
- def generate_story(file_paths):
20
  # Load images from the file paths
21
  images = [Image.open(file_path) for file_path in file_paths]
22
 
 
16
 
17
  @spaces.GPU()
18
  @torch.no_grad()
19
+ def generate_story(file_paths, progress=gr.Progress(track_tqdm=True)):
20
  # Load images from the file paths
21
  images = [Image.open(file_path) for file_path in file_paths]
22