ragavsachdeva commited on
Commit
f6db6a4
·
verified ·
1 Parent(s): 80a0d81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 Pages")
56
- character_bank_images_input = gr.Files(label="Character Bank Images")
57
- character_bank_names_input = gr.Textbox(label="Character Bank Names (comma separated)")
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")