Spaces:
Runtime error
Runtime error
Avijit Ghosh
commited on
Commit
•
6c70e1e
1
Parent(s):
0c7d699
add cats
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def showmodal(evt: gr.SelectData):
|
|
85 |
|
86 |
return [modal, titlemd, authormd, tagsmd, abstractmd, datasetmd, gallery]
|
87 |
|
88 |
-
with gr.Blocks(title = "Social Impact Measurement V2", css=custom_css) as demo: #theme=gr.themes.Soft(),
|
89 |
# create tabs for the app, moving the current table to one titled "rewardbench" and the benchmark_text to a tab called "About"
|
90 |
with gr.Row():
|
91 |
gr.Markdown("""
|
@@ -134,7 +134,13 @@ The following categories are high-level, non-exhaustive, and present a synthesis
|
|
134 |
authormd = gr.Markdown(visible=False)
|
135 |
tagsmd = gr.Markdown(visible=False)
|
136 |
abstractmd = gr.Markdown(visible=False)
|
|
|
|
|
|
|
|
|
137 |
datasetmd = gr.Markdown(visible=False)
|
|
|
|
|
138 |
gallery = gr.Gallery(visible=False)
|
139 |
biastable_filtered.select(showmodal, None, [modal, titlemd, authormd, tagsmd, abstractmd, datasetmd, gallery])
|
140 |
|
|
|
85 |
|
86 |
return [modal, titlemd, authormd, tagsmd, abstractmd, datasetmd, gallery]
|
87 |
|
88 |
+
with gr.Blocks(title = "Social Impact Measurement V2", css=custom_css, theme=gr.themes.Base()) as demo: #theme=gr.themes.Soft(),
|
89 |
# create tabs for the app, moving the current table to one titled "rewardbench" and the benchmark_text to a tab called "About"
|
90 |
with gr.Row():
|
91 |
gr.Markdown("""
|
|
|
134 |
authormd = gr.Markdown(visible=False)
|
135 |
tagsmd = gr.Markdown(visible=False)
|
136 |
abstractmd = gr.Markdown(visible=False)
|
137 |
+
gr.Markdown("## Construct Validity", visible=True)
|
138 |
+
gr.Markdown("### What it is evaluating", visible=True)
|
139 |
+
gr.Markdown('## Resources', visible=True)
|
140 |
+
gr.Markdown('### What you need to do this evaluation', visible=True)
|
141 |
datasetmd = gr.Markdown(visible=False)
|
142 |
+
gr.Markdown("## Results", visible=True)
|
143 |
+
gr.Markdown("### Metrics", visible=True)
|
144 |
gallery = gr.Gallery(visible=False)
|
145 |
biastable_filtered.select(showmodal, None, [modal, titlemd, authormd, tagsmd, abstractmd, datasetmd, gallery])
|
146 |
|