Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,6 @@ with gr.Blocks() as demo:
|
|
9 |
</script>
|
10 |
"""
|
11 |
dt = gr.Textbox(label="Current time")
|
12 |
-
demo.load(
|
13 |
|
14 |
demo.launch()
|
|
|
9 |
</script>
|
10 |
"""
|
11 |
dt = gr.Textbox(label="Current time")
|
12 |
+
demo.load(None, inputs=None, outputs=dt, _js="() => navigator.language")
|
13 |
|
14 |
demo.launch()
|