File size: 566 Bytes
6bd4abf
 
0fbe956
 
57af65a
0fbe956
57af65a
 
0fbe956
57af65a
0fbe956
 
 
 
 
6bd4abf
57af65a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import gradio as gr

iface = gr.Interface(
    inputs=[
        gr.Textbox(),
        gr.Radio(["Residential", "Office", "Regional Retail", "Local Retail", "Sit Down/High Turnover Restaurant", "Fast Food/without Drive Through",
                  "Community Facility", "Off-Street Parking Facility"])
    ],
    outputs=[
        gr.outputs.Image(type="pil"),
        gr.outputs.File(label="Building Buffers"),
        gr.outputs.File(label="Union of Building Buffers"),
        gr.outputs.Textbox(label="Building intersection descriptions"),
    ]
)

iface.launch()