wenjiao commited on
Commit
fc3e061
·
1 Parent(s): d5c22e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(get_time, inputs=None, outputs=dt)
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()