File size: 397 Bytes
9b60c35 bcab84f 00ce87d 9b60c35 9b7ded7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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)
|