Spaces:
Runtime error
Runtime error
with gr.Blocks(theme=gr.themes.Base()) as demo: # 使用 'light' 主题作为默认值
Browse files
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.
|
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 的宽度
|