Spaces:
Sleeping
Sleeping
sudanl
commited on
Commit
·
e99eed6
1
Parent(s):
6bc9709
fix: Remove Gradio info parameter for compatibility with older versions
Browse files
app.py
CHANGED
|
@@ -189,21 +189,18 @@ with demo:
|
|
| 189 |
with gr.Row():
|
| 190 |
with gr.Column():
|
| 191 |
org_textbox = gr.Textbox(
|
| 192 |
-
label="Organization Name",
|
| 193 |
-
placeholder="Your Organization"
|
| 194 |
-
info="组织名称将显示在排行榜上"
|
| 195 |
)
|
| 196 |
email_textbox = gr.Textbox(
|
| 197 |
-
label="Contact Email",
|
| 198 |
-
placeholder="contact@example.com"
|
| 199 |
-
info="邮箱仅用于联系,不会公开显示"
|
| 200 |
)
|
| 201 |
with gr.Column():
|
| 202 |
file_upload = gr.File(
|
| 203 |
-
label="Upload SAGE Results (JSON)",
|
| 204 |
file_types=[".json"],
|
| 205 |
-
type="filepath"
|
| 206 |
-
info="上传符合SAGE格式的JSON结果文件"
|
| 207 |
)
|
| 208 |
|
| 209 |
# HuggingFace登录按钮
|
|
|
|
| 189 |
with gr.Row():
|
| 190 |
with gr.Column():
|
| 191 |
org_textbox = gr.Textbox(
|
| 192 |
+
label="Organization Name - 组织名称将显示在排行榜上",
|
| 193 |
+
placeholder="Your Organization"
|
|
|
|
| 194 |
)
|
| 195 |
email_textbox = gr.Textbox(
|
| 196 |
+
label="Contact Email - 邮箱仅用于联系,不会公开显示",
|
| 197 |
+
placeholder="contact@example.com"
|
|
|
|
| 198 |
)
|
| 199 |
with gr.Column():
|
| 200 |
file_upload = gr.File(
|
| 201 |
+
label="Upload SAGE Results (JSON) - 上传符合SAGE格式的JSON结果文件",
|
| 202 |
file_types=[".json"],
|
| 203 |
+
type="filepath"
|
|
|
|
| 204 |
)
|
| 205 |
|
| 206 |
# HuggingFace登录按钮
|