File size: 345 Bytes
d1a7377
 
5e80301
d1a7377
 
 
 
 
5e80301
d1a7377
5e80301
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr

with gr.Blocks() as demo:
    with gr.Row():
        image_input = gr.File(file_count="multiple", label="Input Image")
    with gr.Row():
        image_output = gr.Image(label="Mask")
    submit_button = gr.Button("Run Model", visible=True)
    
if __name__ == "__main__":
    demo.launch(show_api=False, root_path="/test")