Download index.html from alpha1ct/testspace: direct link, hf CLI and curl.
- Browser
- Download file 605 Bytes
-
https://huggingface.co/spaces/alpha1ct/testspace/resolve/main/index.html
- Command line
-
hf download hf://spaces/alpha1ct/testspace/index.html
-
curl -L -o index.html https://huggingface.co/spaces/alpha1ct/testspace/resolve/main/index.html
605 Bytes
| import gradio as gr | |
| # Embed the webcam tests with their respective URLs | |
| def embed_webcam_test(iframe_url): | |
| return f"<iframe src='{iframe_url}' width='100%' height='600' allow='fullscreen'></iframe>" | |
| # Create the Gradio app with multiple tabs for each test | |
| with gr.Blocks() as app: | |
| with gr.Tab("WebcamTests.com"): | |
| gr.HTML(embed_webcam_test("https://webcamtests.com")) | |
| with gr.Tab("Clideo"): | |
| gr.HTML(embed_webcam_test("https://clideo.com/tools/webcam-test")) | |
| with gr.Tab("Direec"): | |
| gr.HTML(embed_webcam_test("https://direec.com/tools/webcam-test")) | |
| app.launch() | |