Spaces:
Sleeping
Sleeping
Edward J. Schwartz
commited on
Commit
·
76d23b8
1
Parent(s):
c485ef9
Format
Browse files
app.py
CHANGED
@@ -87,8 +87,10 @@ with gr.Blocks() as demo:
|
|
87 |
#fun_data = {'one': 2, 'two': 3}
|
88 |
fun_data = get_all_dis(file.name)
|
89 |
|
|
|
|
|
90 |
return {col: gr.update(visible=True),
|
91 |
-
fun_dropdown: gr.Dropdown.update(choices=
|
92 |
all_dis_state: fun_data
|
93 |
}
|
94 |
|
|
|
87 |
#fun_data = {'one': 2, 'two': 3}
|
88 |
fun_data = get_all_dis(file.name)
|
89 |
|
90 |
+
addrs = ["%#x" % addr for addr in fun_data.keys()]
|
91 |
+
|
92 |
return {col: gr.update(visible=True),
|
93 |
+
fun_dropdown: gr.Dropdown.update(choices=addrs, value=addrs[0]),
|
94 |
all_dis_state: fun_data
|
95 |
}
|
96 |
|