Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse fileschnaged the dropdown label
app.py
CHANGED
|
@@ -1145,14 +1145,7 @@ button, select, .slider-percentage {
|
|
| 1145 |
|
| 1146 |
|
| 1147 |
}
|
| 1148 |
-
#dropdown-block {
|
| 1149 |
-
padding-top: 80px;
|
| 1150 |
-
}
|
| 1151 |
|
| 1152 |
-
#dropdown-block > label {
|
| 1153 |
-
margin-bottom: 65px;
|
| 1154 |
-
display: block;
|
| 1155 |
-
}
|
| 1156 |
|
| 1157 |
|
| 1158 |
'''
|
|
@@ -1213,9 +1206,10 @@ with gr.Blocks(theme='gstaff/sketch', css=custom_css) as demo:
|
|
| 1213 |
opt1_pie = gr.Plot(label="ER")
|
| 1214 |
opt2_pie = gr.Plot(label="ME")
|
| 1215 |
|
| 1216 |
-
|
| 1217 |
with gr.Row():
|
| 1218 |
-
|
|
|
|
|
|
|
| 1219 |
download_button = gr.Button("Generate Strategies")
|
| 1220 |
with gr.Row():
|
| 1221 |
file_output = gr.File(label="Download File")
|
|
|
|
| 1145 |
|
| 1146 |
|
| 1147 |
}
|
|
|
|
|
|
|
|
|
|
| 1148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1149 |
|
| 1150 |
|
| 1151 |
'''
|
|
|
|
| 1206 |
opt1_pie = gr.Plot(label="ER")
|
| 1207 |
opt2_pie = gr.Plot(label="ME")
|
| 1208 |
|
|
|
|
| 1209 |
with gr.Row():
|
| 1210 |
+
gr.Markdown("Select a strategy from the dropdown")
|
| 1211 |
+
with gr.Row():
|
| 1212 |
+
file_dropdown = gr.Dropdown(choices=list_files(), label=" ")
|
| 1213 |
download_button = gr.Button("Generate Strategies")
|
| 1214 |
with gr.Row():
|
| 1215 |
file_output = gr.File(label="Download File")
|