Hannah commited on
Commit
d1a7377
·
1 Parent(s): d92f573
Files changed (2) hide show
  1. app.py +10 -0
  2. requirements.txt +1 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
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")
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ https://gradio-builds.s3.amazonaws.com/d536d70e357359428b94ef58094fd2ed9f13187d/gradio-4.13.0-py3-none-any.whl