File size: 360 Bytes
2a801b1
bb73e7b
 
356f2d7
 
2a801b1
 
 
 
a8cd8ac
 
 
 
356f2d7
2a801b1
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import gradio as gr
import os

def see_files(path):
    return os.listdir(path)

def greet(name):
    return "Hello " + name + "!!"

REPO_ID = "EvanTHU/MoVid"
FILENAME = "animation-video.zip"
file = hf_hub_download(repo_id=REPO_ID, filename=FILENAME, repo_type="dataset")
print(file)

demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()