Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ def initialize_interface():
|
|
24 |
}
|
25 |
"""
|
26 |
|
27 |
-
# Create a Gradio interface with a
|
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()
|