XufengDuan commited on
Commit
3d34221
β€’
1 Parent(s): d5a5e84

update scripts

Browse files
Files changed (2) hide show
  1. animated_radar_chart.html +1 -1
  2. 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():