Skip to content

Commit dff8cbd

Browse files
committed
Fix outdated import
1 parent 3c70fed commit dff8cbd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

demo/model_comparison_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
from typing import Tuple
22

33
import gradio as gr
4-
from transcribe_app import model_ids, transcribe
4+
from transcribe_app import get_dropdown_model_ids, transcribe
55

66

77
def model_select_block() -> Tuple[gr.Dropdown, gr.Textbox, gr.Textbox]:
88
with gr.Row():
99
with gr.Column():
1010
dropdown_model = gr.Dropdown(
11-
choices=model_ids, label="Option 1: Select a model"
11+
choices=get_dropdown_model_ids(), label="Option 1: Select a model"
1212
)
1313
with gr.Column():
1414
user_model = gr.Textbox(

0 commit comments

Comments
 (0)