BHW commited on
Commit
707c9c2
·
verified ·
1 Parent(s): 2b461ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def save_audio(audio, dropdown_label, custom_label, speaker_name):
75
  def create_interface():
76
  with gr.Blocks() as demo:
77
  labels = LABELS # Add a "Custom" option for custom label
78
- label_dropdown = gr.Dropdown(choices=labels, label="Select Label")
79
  custom_label = gr.Textbox(label="Enter Custom Label", visible=False) # Initially hidden
80
 
81
  # Function to show/hide custom label textbox based on dropdown selection
 
75
  def create_interface():
76
  with gr.Blocks() as demo:
77
  labels = LABELS # Add a "Custom" option for custom label
78
+ label_dropdown = gr.Dropdown(choices=LABLES, label="Select Label")
79
  custom_label = gr.Textbox(label="Enter Custom Label", visible=False) # Initially hidden
80
 
81
  # Function to show/hide custom label textbox based on dropdown selection