youngtsai commited on
Commit
053e3d3
1 Parent(s): 21e7f29

with gr.Blocks(theme=gr.themes.Base()) as demo: # 使用 'light' 主题作为默认值

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def main_function(password: str, theme: str, language: str, method: str, rounds:
122
 
123
 
124
  if __name__ == "__main__":
125
- with gr.Blocks(theme=gr.themes.Glass()) as demo: # 使用 'light' 主题作为默认值
126
  # Header 或其他组件可以在这里添加,如果有需要
127
  with gr.Row():
128
  with gr.Column(scale=2): # 2/3 的宽度
 
122
 
123
 
124
  if __name__ == "__main__":
125
+ with gr.Blocks(theme=gr.themes.Base()) as demo: # 使用 'light' 主题作为默认值
126
  # Header 或其他组件可以在这里添加,如果有需要
127
  with gr.Row():
128
  with gr.Column(scale=2): # 2/3 的宽度