Spaces:
Sleeping
Sleeping
File size: 495 Bytes
1f5f680 35e7909 be713a5 35e7909 1f5f680 06463de c5d14f6 1d9da87 c5d14f6 06463de c1faa16 06463de d125f21 96803aa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import gradio as gr
def greet(input_video):
print("Imprimiendo en Consola")
return input_video
def carga_consola():
return "Hola Mundo"
#iface = gr.Interface(greet, gr.Video(height=200, width=200), "video")
#gr.show()
with gr.Blocks() as demo:
with gr.Row():
input = gr.Textbox()
output = gr.Textbox()
btn = gr.Button("Run")
btn.click(greet, input, output)
consola = gr.Textbox()
demo.load(carga_consola, None, consola)
demo.queue().launch() |