Ridealist commited on
Commit
61bf41a
·
1 Parent(s): c444cb8

fix: radio button visibility by uninterative mode

Browse files
Files changed (1) hide show
  1. src/obs_eval_gradio.py +2 -0
src/obs_eval_gradio.py CHANGED
@@ -163,6 +163,7 @@ def show_audio_transcript(video_file, api_key):
163
  def change_audio_rubric(choice):
164
  if choice == "Video only":
165
  return gr.Textbox(
 
166
  placeholder="(Deprecated)",
167
  interactive=False,
168
  visible=False
@@ -180,6 +181,7 @@ def change_audio_rubric(choice):
180
  def change_audio_eval(choice):
181
  if choice == "Video only":
182
  return gr.Textbox(
 
183
  visible=False,
184
  placeholder="(Deprecated)",
185
  interactive=False,
 
163
  def change_audio_rubric(choice):
164
  if choice == "Video only":
165
  return gr.Textbox(
166
+ lines=0,
167
  placeholder="(Deprecated)",
168
  interactive=False,
169
  visible=False
 
181
  def change_audio_eval(choice):
182
  if choice == "Video only":
183
  return gr.Textbox(
184
+ lines=0,
185
  visible=False,
186
  placeholder="(Deprecated)",
187
  interactive=False,