File size: 222 Bytes
a7fe398
 
 
5575bc2
a7fe398
5575bc2
a7fe398
 
5575bc2
a7fe398
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr

from pathlib import Path
from huggingface_hub import ModelCard

modelcard = ModelCard.load(Path(__file__).parent / "README.md")

with gr.Blocks() as demo:
    gr.Markdown(modelcard.text)

demo.launch()