Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
|
| 3 |
# Embed the webcam tests with their respective URLs
|
| 4 |
def embed_webcam_test(iframe_url):
|
| 5 |
-
return f"<iframe src='{iframe_url}' width='100%' height='600' allow='fullscreen'></iframe>"
|
| 6 |
|
| 7 |
# Create the Gradio app with multiple tabs for each test
|
| 8 |
with gr.Blocks() as app:
|
|
|
|
| 2 |
|
| 3 |
# Embed the webcam tests with their respective URLs
|
| 4 |
def embed_webcam_test(iframe_url):
|
| 5 |
+
return f"<iframe src='{iframe_url}' width='100%' height='600' allow='fullscreen' allow="camera; microphone; fullscreen; speaker"></iframe>"
|
| 6 |
|
| 7 |
# Create the Gradio app with multiple tabs for each test
|
| 8 |
with gr.Blocks() as app:
|