Spaces:
Running
Running
yuanmingqi
commited on
Commit
·
63cde6a
1
Parent(s):
1511a62
update
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
10 |
with gr.Column(scale=2):
|
11 |
with gr.Row():
|
12 |
github_username = gr.Textbox(label="Github Username", info="Please enter your github username, e.g., username.")
|
13 |
-
benchmark = gr.Dropdown(label="Benchmark", choices=list(benchmarks.keys()), info="Please select a benchmark, e.g., Procgen.")
|
14 |
with gr.Row():
|
15 |
environment = gr.Dropdown(label="Environment", choices=[], value=None, info="Please select an environment, e.g., Miner.")
|
16 |
version = gr.Dropdown(label="Version", choices=[], value=None, info="Please select a version, e.g., v0.")
|
@@ -19,7 +19,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
19 |
code_link = gr.Textbox(label="Code Link", info="Example: https://github.com/username/repo, the link should be accessible.")
|
20 |
with gr.Row():
|
21 |
submit_button = gr.Button("Submit", variant="primary")
|
22 |
-
clear_button = gr.Button("Clear", variant="
|
23 |
with gr.Column(scale=1):
|
24 |
# file uploader
|
25 |
model_uploader = gr.File(label="Upload the agent here!")
|
|
|
10 |
with gr.Column(scale=2):
|
11 |
with gr.Row():
|
12 |
github_username = gr.Textbox(label="Github Username", info="Please enter your github username, e.g., username.")
|
13 |
+
benchmark = gr.Dropdown(label="Benchmark", choices=list(benchmarks.keys()), value=None, info="Please select a benchmark, e.g., Procgen.")
|
14 |
with gr.Row():
|
15 |
environment = gr.Dropdown(label="Environment", choices=[], value=None, info="Please select an environment, e.g., Miner.")
|
16 |
version = gr.Dropdown(label="Version", choices=[], value=None, info="Please select a version, e.g., v0.")
|
|
|
19 |
code_link = gr.Textbox(label="Code Link", info="Example: https://github.com/username/repo, the link should be accessible.")
|
20 |
with gr.Row():
|
21 |
submit_button = gr.Button("Submit", variant="primary")
|
22 |
+
clear_button = gr.Button("Clear", variant="stop")
|
23 |
with gr.Column(scale=1):
|
24 |
# file uploader
|
25 |
model_uploader = gr.File(label="Upload the agent here!")
|