Spaces:
Runtime error
Runtime error
stanley commited on
Commit ·
7bb195c
1
Parent(s): 4104666
remove onnx
Browse files
app.py
CHANGED
|
@@ -1315,7 +1315,8 @@ with blocks as demo:
|
|
| 1315 |
model_selection = gr.Radio(
|
| 1316 |
label="Choose a model type here",
|
| 1317 |
choices=model_choices_lst,
|
| 1318 |
-
value=ModelChoice.INPAINTING.value
|
|
|
|
| 1319 |
)
|
| 1320 |
with gr.Column(scale=1, min_width=100):
|
| 1321 |
canvas_width = gr.Number(
|
|
|
|
| 1315 |
model_selection = gr.Radio(
|
| 1316 |
label="Choose a model type here",
|
| 1317 |
choices=model_choices_lst,
|
| 1318 |
+
value=ModelChoice.INPAINTING.value,
|
| 1319 |
+
# value=ModelChoice.INPAINTING.value if onnx_available else ModelChoice.INPAINTING2.value,
|
| 1320 |
)
|
| 1321 |
with gr.Column(scale=1, min_width=100):
|
| 1322 |
canvas_width = gr.Number(
|