Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -52,9 +52,9 @@ def process_images(chapter_pages, character_bank_images, character_bank_names):
|
|
52 |
return output_images, transcript_text
|
53 |
|
54 |
# Define Gradio interface
|
55 |
-
chapter_pages_input = gr.Files(label="Chapter
|
56 |
-
character_bank_images_input = gr.Files(label="Character
|
57 |
-
character_bank_names_input = gr.Textbox(label="Character
|
58 |
|
59 |
output_images = gr.Gallery(label="Output Images")
|
60 |
transcript_output = gr.Textbox(label="Transcript")
|
|
|
52 |
return output_images, transcript_text
|
53 |
|
54 |
# Define Gradio interface
|
55 |
+
chapter_pages_input = gr.Files(label="Chapter pages in chronological order.")
|
56 |
+
character_bank_images_input = gr.Files(label="Character reference images. If left empty, the transcript will say 'Other' for all characters.")
|
57 |
+
character_bank_names_input = gr.Textbox(label="Character names (comma separated). If left empty, the filenames of character images will be used.")
|
58 |
|
59 |
output_images = gr.Gallery(label="Output Images")
|
60 |
transcript_output = gr.Textbox(label="Transcript")
|