CharadesEgo / app.py
gina9726's picture
Update app.py
03a1b99 verified
raw
history blame
507 Bytes
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
def video_identity(video):
return video
video_url = "https://ak.picdn.net/shutterstock/videos/21179416/preview/stock-footage-aerial-shot-winter-forest.mp4"
iface = gr.Interface(video_identity,
gr.Video(),
"playable_video",
examples=[video_url],
cache_examples=True)
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()