XufengDuan commited on
Commit
ccabf14
β€’
1 Parent(s): 7db1281

update scripts

Browse files
Files changed (2) hide show
  1. animated_radar_chart.html +0 -0
  2. app.py +9 -0
animated_radar_chart.html ADDED
The diff for this file is too large to render. See raw diff
 
app.py CHANGED
@@ -217,6 +217,15 @@ try:
217
  with demo:
218
  gr.HTML(about.TITLE)
219
  gr.Markdown(about.INTRODUCTION_TEXT, elem_classes="markdown-text")
 
 
 
 
 
 
 
 
 
220
 
221
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
222
  with gr.TabItem("πŸ… LLM Benchmark", elem_id="llm-benchmark-tab-table", id=0):
 
217
  with demo:
218
  gr.HTML(about.TITLE)
219
  gr.Markdown(about.INTRODUCTION_TEXT, elem_classes="markdown-text")
220
+ def display_animated_radar_chart():
221
+ with open("./animated_radar_chart.html", "r") as f:
222
+ return f.read()
223
+
224
+ with gr.Blocks() as demo:
225
+ gr.HTML("<h1>animated_radar_chart</h1>")
226
+ animated_radar_chart = gr.HTML(display_animated_radar_chart())
227
+
228
+ demo.launch()
229
 
230
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
231
  with gr.TabItem("πŸ… LLM Benchmark", elem_id="llm-benchmark-tab-table", id=0):