Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|