Spaces:
Runtime error
Runtime error
File size: 900 Bytes
6bd4abf 0fbe956 6bd4abf 0fbe956 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import gradio as gr
iface = gr.Interface(
inputs=[
gr.Textbox(路路路, label="Enter address of development")
gr.Radio(["Residential", "Office", "Regional Retail", "Local Retail", "Sit Down/High Turnover Restaurant", "Fast Food/without Drive Through",
"Community Facility", "Off-Street Parking Facility"],
label="Which Sensitive Sites?", info="From NYC DPR", type="index"),
gr.inputs.Slider(minimum=0.0, maximum=10.0, default=4.3, label="Building Height Multiplier"),
gr.inputs.Number(default=200, label="Default Building Height"), #Can I make this optional?
],
outputs=[
gr.outputs.Image(type="pil", label="Result Image"),
gr.outputs.File(label="Building Buffers"),
gr.outputs.File(label="Union of Building Buffers"),
gr.outputs.Textbox(label="Building intersection descriptions"),
]
)
iface.launch() |