parrotmaker commited on
Commit
f6923f8
·
verified ·
1 Parent(s): 28c55a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -1,8 +1,13 @@
1
  import gradio as gr
2
 
3
- # Dummy interface to keep the Space alive, but not display any UI
4
- gr.Interface(fn=lambda: None, inputs=[], outputs=[]).launch(
5
- inline=False, # <- This disables the Gradio UI shell
 
 
 
 
 
6
  server_name="0.0.0.0",
7
  server_port=7860
8
  )
 
1
  import gradio as gr
2
 
3
+ # Minimal dummy interface with redirect
4
+ gr.Interface(
5
+ fn=lambda x: "",
6
+ inputs=gr.Textbox(visible=False),
7
+ outputs=gr.Textbox(visible=False),
8
+ live=False
9
+ ).launch(
10
+ inline=False,
11
  server_name="0.0.0.0",
12
  server_port=7860
13
  )