DEPLOY / app.py
vpcom's picture
Create app.py
ee52aeb
raw
history blame
262 Bytes
import gradio as gr
def func(hf_token, repo, revision, target_repo):
return f"Using {hf_token}, the content of {repo}/{revision} has been copied to {target_repo}!"
iface = gr.Interface(fn=func, inputs=["text","text","text"], outputs="text")
iface.launch()