PSNbst commited on
Commit
2a19f55
·
verified ·
1 Parent(s): d9fb779

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -124,8 +124,8 @@ def gradio_interface():
124
  style_file = gr.File(label="Upload Style File (Optional)", file_types=[".txt"])
125
 
126
  with gr.Row():
127
- artist_files = gr.File(label="Upload Artist Files (Multiple Allowed)", file_types=[".txt"], file_types_description="Text Files", multiple=True)
128
- character_files = gr.File(label="Upload Character Files (Multiple Allowed)", file_types=[".txt"], file_types_description="Text Files", multiple=True)
129
 
130
  # 角色类型选择
131
  selected_categories = gr.CheckboxGroup(
@@ -154,3 +154,4 @@ def gradio_interface():
154
  if __name__ == "__main__":
155
  gradio_interface().launch(share=True)
156
 
 
 
124
  style_file = gr.File(label="Upload Style File (Optional)", file_types=[".txt"])
125
 
126
  with gr.Row():
127
+ artist_files = gr.File(label="Upload Artist Files (Multiple Allowed)", file_types=[".txt"], multiple=True)
128
+ character_files = gr.File(label="Upload Character Files (Multiple Allowed)", file_types=[".txt"], multiple=True)
129
 
130
  # 角色类型选择
131
  selected_categories = gr.CheckboxGroup(
 
154
  if __name__ == "__main__":
155
  gradio_interface().launch(share=True)
156
 
157
+