youngtsai commited on
Commit
22a7db5
·
1 Parent(s): 0de648e

submit_button = gr.Button("Submit", style={"background-color": "#FFA500", "color": "white"})

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ if __name__ == "__main__":
142
  char2_gender = gr.Dropdown(choices=["male", "female"], label="角色 2 性別")
143
 
144
  # 在这里添加提交和清除按鈕
145
- submit_button = gr.Button("Submit")
146
  clear_button = gr.Button("Clear")
147
  submit_button.click(main_function, [password, theme, language, generation_mode, rounds, char1_name, char1_gender, char2_name, char2_gender], [chat_output, json_file, json_textbox])
148
  clear_button.click(lambda: None, None, [chat_output, json_file, json_textbox], queue=False)
 
142
  char2_gender = gr.Dropdown(choices=["male", "female"], label="角色 2 性別")
143
 
144
  # 在这里添加提交和清除按鈕
145
+ submit_button = gr.Button("Submit", style={"background-color": "#FFA500", "color": "white"})
146
  clear_button = gr.Button("Clear")
147
  submit_button.click(main_function, [password, theme, language, generation_mode, rounds, char1_name, char1_gender, char2_name, char2_gender], [chat_output, json_file, json_textbox])
148
  clear_button.click(lambda: None, None, [chat_output, json_file, json_textbox], queue=False)