Spaces:
Sleeping
Sleeping
Remove share buttons from images
Browse files
app.py
CHANGED
|
@@ -52,14 +52,16 @@ def create_ui():
|
|
| 52 |
with gr.Blocks(theme = theme) as demo:
|
| 53 |
with gr.Row():
|
| 54 |
gr.Image("https://ai.stanford.edu/wp-content/themes/sail/img/logo.png",
|
| 55 |
-
show_label=False,
|
| 56 |
-
show_download_button=False,
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
| 60 |
gr.Image("https://crfm.stanford.edu/static/img/header/crfm-rgb.png",
|
| 61 |
show_label = False,
|
| 62 |
show_download_button = False,
|
|
|
|
| 63 |
container = False,
|
| 64 |
min_width = 200,
|
| 65 |
scale = 0)
|
|
@@ -83,6 +85,7 @@ def create_ui():
|
|
| 83 |
gr.Image("lb_stats.png",
|
| 84 |
show_label = False,
|
| 85 |
show_download_button = False,
|
|
|
|
| 86 |
width = 800)
|
| 87 |
gr.Markdown(
|
| 88 |
"""
|
|
@@ -93,11 +96,13 @@ def create_ui():
|
|
| 93 |
)
|
| 94 |
gr.Image("category_scores.png",
|
| 95 |
show_label = False,
|
| 96 |
-
show_download_button = False
|
|
|
|
| 97 |
with gr.TabItem("About"):
|
| 98 |
gr.Image("eval_about.jpg",
|
| 99 |
show_label = False,
|
| 100 |
-
show_download_button = False
|
|
|
|
| 101 |
with gr.Accordion("What is RubricEval?"):
|
| 102 |
gr.Markdown(
|
| 103 |
"""
|
|
@@ -135,7 +140,8 @@ def create_ui():
|
|
| 135 |
""")
|
| 136 |
gr.Image("feature_comp.png",
|
| 137 |
show_label = False,
|
| 138 |
-
show_download_button = False
|
|
|
|
| 139 |
with gr.Accordion("Where do evaluation instructions come from?"):
|
| 140 |
gr.Markdown(
|
| 141 |
"""
|
|
|
|
| 52 |
with gr.Blocks(theme = theme) as demo:
|
| 53 |
with gr.Row():
|
| 54 |
gr.Image("https://ai.stanford.edu/wp-content/themes/sail/img/logo.png",
|
| 55 |
+
show_label = False,
|
| 56 |
+
show_download_button = False,
|
| 57 |
+
show_share_button = False,
|
| 58 |
+
container = False,
|
| 59 |
+
min_width = 200,
|
| 60 |
+
scale = 0)
|
| 61 |
gr.Image("https://crfm.stanford.edu/static/img/header/crfm-rgb.png",
|
| 62 |
show_label = False,
|
| 63 |
show_download_button = False,
|
| 64 |
+
show_share_button = False,
|
| 65 |
container = False,
|
| 66 |
min_width = 200,
|
| 67 |
scale = 0)
|
|
|
|
| 85 |
gr.Image("lb_stats.png",
|
| 86 |
show_label = False,
|
| 87 |
show_download_button = False,
|
| 88 |
+
show_share_button = False,
|
| 89 |
width = 800)
|
| 90 |
gr.Markdown(
|
| 91 |
"""
|
|
|
|
| 96 |
)
|
| 97 |
gr.Image("category_scores.png",
|
| 98 |
show_label = False,
|
| 99 |
+
show_download_button = False,
|
| 100 |
+
show_share_button = False)
|
| 101 |
with gr.TabItem("About"):
|
| 102 |
gr.Image("eval_about.jpg",
|
| 103 |
show_label = False,
|
| 104 |
+
show_download_button = False,
|
| 105 |
+
show_share_button = False)
|
| 106 |
with gr.Accordion("What is RubricEval?"):
|
| 107 |
gr.Markdown(
|
| 108 |
"""
|
|
|
|
| 140 |
""")
|
| 141 |
gr.Image("feature_comp.png",
|
| 142 |
show_label = False,
|
| 143 |
+
show_download_button = False,
|
| 144 |
+
show_share_button = False)
|
| 145 |
with gr.Accordion("Where do evaluation instructions come from?"):
|
| 146 |
gr.Markdown(
|
| 147 |
"""
|