Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ with gr.Blocks() as demo:
|
|
60 |
# 选择模型类型
|
61 |
model_type = gr.Dropdown(["vit_b", "vit_l", "vit_h"], value='vit_b', label="选择模型")
|
62 |
# 选择device
|
63 |
-
device = gr.Dropdown(["cpu"
|
64 |
|
65 |
# 参数
|
66 |
with gr.Accordion(label='参数调整', open=False):
|
|
|
60 |
# 选择模型类型
|
61 |
model_type = gr.Dropdown(["vit_b", "vit_l", "vit_h"], value='vit_b', label="选择模型")
|
62 |
# 选择device
|
63 |
+
device = gr.Dropdown(["cpu"], value='cpu', label="选择你的硬件")
|
64 |
|
65 |
# 参数
|
66 |
with gr.Accordion(label='参数调整', open=False):
|