Spaces:
Running
Running
XufengDuan
commited on
Commit
β’
3d34221
1
Parent(s):
d5a5e84
update scripts
Browse files- animated_radar_chart.html +1 -1
- app.py +4 -4
animated_radar_chart.html
CHANGED
@@ -724,7 +724,7 @@
|
|
724 |
window.template.data[_Flourish_dataset].metadata = _Flourish_data_metadata[_Flourish_dataset];
|
725 |
window.template.data[_Flourish_dataset].timestamps = _Flourish_data_timestamps[_Flourish_dataset];
|
726 |
}
|
727 |
-
|
728 |
window.template.draw();
|
729 |
</script>
|
730 |
<div class="font-samples" style="visibility: hidden; overflow: hidden; height: 0px;"></div><iframe id="CLdJY0mM" frameborder="0" src="./translateSandbox.html" style="width: 0px; height: 0px; display: none;" name="CLdJY0mM"></iframe>
|
|
|
724 |
window.template.data[_Flourish_dataset].metadata = _Flourish_data_metadata[_Flourish_dataset];
|
725 |
window.template.data[_Flourish_dataset].timestamps = _Flourish_data_timestamps[_Flourish_dataset];
|
726 |
}
|
727 |
+
|
728 |
window.template.draw();
|
729 |
</script>
|
730 |
<div class="font-samples" style="visibility: hidden; overflow: hidden; height: 0px;"></div><iframe id="CLdJY0mM" frameborder="0" src="./translateSandbox.html" style="width: 0px; height: 0px; display: none;" name="CLdJY0mM"></iframe>
|
app.py
CHANGED
@@ -214,15 +214,15 @@ def filter_models(
|
|
214 |
|
215 |
try:
|
216 |
demo = gr.Blocks(css=custom_css)
|
217 |
-
def display_radar_chart():
|
218 |
-
with open("./animated_radar_chart.html", "r") as file:
|
219 |
-
return file.read()
|
220 |
with demo:
|
221 |
gr.HTML(about.TITLE)
|
222 |
gr.Markdown(about.INTRODUCTION_TEXT, elem_classes="markdown-text")
|
|
|
|
|
|
|
|
|
223 |
gr.HTML(display_radar_chart())
|
224 |
|
225 |
-
|
226 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
227 |
with gr.TabItem("π
LLM Benchmark", elem_id="llm-benchmark-tab-table", id=0):
|
228 |
with gr.Row():
|
|
|
214 |
|
215 |
try:
|
216 |
demo = gr.Blocks(css=custom_css)
|
|
|
|
|
|
|
217 |
with demo:
|
218 |
gr.HTML(about.TITLE)
|
219 |
gr.Markdown(about.INTRODUCTION_TEXT, elem_classes="markdown-text")
|
220 |
+
def display_radar_chart():
|
221 |
+
return """
|
222 |
+
<iframe src="https://crimson-bernette-67.tiiny.site/"></iframe>
|
223 |
+
"""
|
224 |
gr.HTML(display_radar_chart())
|
225 |
|
|
|
226 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
227 |
with gr.TabItem("π
LLM Benchmark", elem_id="llm-benchmark-tab-table", id=0):
|
228 |
with gr.Row():
|