Hannah commited on
Commit
5e80301
·
1 Parent(s): d1a7377
Files changed (2) hide show
  1. __pycache__/app.cpython-311.pyc +0 -0
  2. app.py +3 -2
__pycache__/app.cpython-311.pyc ADDED
Binary file (1.3 kB). View file
 
app.py CHANGED
@@ -1,10 +1,11 @@
1
  import gradio as gr
2
 
3
- with gr.Blocks(css="footer {visibility: hidden}", title="ASD2023", analytics_enabled=False) as masterInterface:
4
  with gr.Row():
5
  image_input = gr.File(file_count="multiple", label="Input Image")
6
  with gr.Row():
7
  image_output = gr.Image(label="Mask")
8
  submit_button = gr.Button("Run Model", visible=True)
 
9
  if __name__ == "__main__":
10
- masterInterface.launch(show_api=False, root_path="/test")
 
1
  import gradio as gr
2
 
3
+ with gr.Blocks() as demo:
4
  with gr.Row():
5
  image_input = gr.File(file_count="multiple", label="Input Image")
6
  with gr.Row():
7
  image_output = gr.Image(label="Mask")
8
  submit_button = gr.Button("Run Model", visible=True)
9
+
10
  if __name__ == "__main__":
11
+ demo.launch(show_api=False, root_path="/test")