Spaces:
Build error
Build error
Download app.py from Mikaelson36/Videops: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/Mikaelson36/Videops/resolve/main/app.py
- Command line
-
hf download hf://spaces/Mikaelson36/Videops/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Mikaelson36/Videops/resolve/main/app.py
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() | |