Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -424,7 +424,7 @@ if __name__ == '__main__':
|
|
| 424 |
with gr.Column(variant='panel', scale=5):
|
| 425 |
|
| 426 |
model_selector = gr.Dropdown(
|
| 427 |
-
choices=[(k,
|
| 428 |
value=list(AVAILABLE_MODELS.keys())[0], # 默认选择第一个模型
|
| 429 |
label="Model Selection",
|
| 430 |
info="Select the model to use for parsing",
|
|
|
|
| 424 |
with gr.Column(variant='panel', scale=5):
|
| 425 |
|
| 426 |
model_selector = gr.Dropdown(
|
| 427 |
+
choices=[(k, k) for k, v in AVAILABLE_MODELS.items()],
|
| 428 |
value=list(AVAILABLE_MODELS.keys())[0], # 默认选择第一个模型
|
| 429 |
label="Model Selection",
|
| 430 |
info="Select the model to use for parsing",
|