Spaces:
Sleeping
Sleeping
Moibe
commited on
Commit
•
c5d14f6
1
Parent(s):
1d9da87
Gradio Blocks
Browse files
app.py
CHANGED
@@ -8,6 +8,14 @@ def greet(input_video):
|
|
8 |
#video_origen.save("video_guardado.mp4")
|
9 |
return input_video
|
10 |
|
11 |
-
iface = gr.Interface(greet, gr.Video(height=200, width=200), "video")
|
12 |
#gr.show()
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
#video_origen.save("video_guardado.mp4")
|
9 |
return input_video
|
10 |
|
11 |
+
#iface = gr.Interface(greet, gr.Video(height=200, width=200), "video")
|
12 |
#gr.show()
|
13 |
+
|
14 |
+
with gr.Blocks() as demo:
|
15 |
+
with gr.Row():
|
16 |
+
input = gr.Textbox()
|
17 |
+
output = gr.Textbox()
|
18 |
+
btn = gr.Button("Run")
|
19 |
+
btn.click(greet, input, output)
|
20 |
+
|
21 |
+
#iface.launch()
|