mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-29 02:14:22 +08:00
move input type above the image/video
This commit is contained in:
parent
c192502a26
commit
9b051cef82
5
app.py
5
app.py
@ -48,14 +48,13 @@ def app():
|
||||
with gr.Blocks():
|
||||
with gr.Row():
|
||||
with gr.Column():
|
||||
image = gr.Image(type="pil", label="Image", visible=True)
|
||||
video = gr.Video(label="Video", visible=False)
|
||||
input_type = gr.Radio(
|
||||
choices=["Image", "Video"],
|
||||
value="Image",
|
||||
label="Input Type",
|
||||
)
|
||||
image = gr.Image(type="pil", label="Image", visible=True)
|
||||
video = gr.Video(label="Video", visible=False)
|
||||
|
||||
model_id = gr.Dropdown(
|
||||
label="Model",
|
||||
choices=[
|
||||
|
Loading…
x
Reference in New Issue
Block a user