huggingface_hub / app.py
Wauplin's picture
Wauplin HF staff
Update app.py
5575bc2
raw
history blame contribute delete
222 Bytes
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()