Videops / app.py
Mikaelson36's picture
Update app.py
fee611b verified
Raw History Blame Contribute Delete
325 Bytes
import webbrowser
import gradio as gr
def redirect_to_page():
webbrowser.open("https://mikaelson36-t2v.hf.space")
with gr.Blocks() as demo:
text = gr.Textbox(label="Enter URL:")
redirect_button = gr.Button("Go to Web Page")
redirect_button.click(redirect_to_page, inputs=None, outputs=None)
demo.launch()