import os | |
import gradio as gr | |
def load_csv(): | |
filename = 'table_sum.html' | |
with open(filename, 'r', encoding="utf-8-sig") as f: | |
return f.read() | |
return '' | |
iface = gr.Interface( | |
fn=load_csv, | |
inputs=None, | |
outputs="html", | |
title="Benchmark_Summary En Ru Zh", | |
description="Benchmark summary for ru, en, zh languages.", | |
live=True | |
) | |
iface.launch(share=False) | |