wenjiao commited on
Commit
51240a5
·
1 Parent(s): 2a4b609

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def initialize_interface():
24
  }
25
  """
26
 
27
- # Create a Gradio interface with a WebView output to display the JavaScript-generated interface
28
- interface = gr.Interface(fn=lambda: None, outputs="webview")
29
  interface.launch(share=True, update_fn=detect_language_js, webview_size=(600, 200))
30
 
31
  initialize_interface()
 
24
  }
25
  """
26
 
27
+ # Create a Gradio interface with a dummy input and WebView output
28
+ interface = gr.Interface(fn=lambda x: None, inputs="text", outputs="webview")
29
  interface.launch(share=True, update_fn=detect_language_js, webview_size=(600, 200))
30
 
31
  initialize_interface()