PANH's picture
Create app.py
2d8296f verified
raw
history blame
400 Bytes
import gradio as gr
def get_safetensors():
with open("AlignScore-base.safetensors", "rb") as f:
return f.read()
iface = gr.Interface(
fn=get_safetensors,
inputs=[],
outputs=gr.outputs.File(label="Download SafeTensors Model"),
title="Download SafeTensors Model",
description="Click the button below to download the SafeTensors version of the model."
)
iface.launch()