Spaces:
Runtime error
Runtime error
fix: apply print value
Browse files- src/obs_eval_gradio.py +4 -2
src/obs_eval_gradio.py
CHANGED
@@ -161,7 +161,8 @@ def show_audio_transcript(video_file, api_key):
|
|
161 |
|
162 |
|
163 |
def change_audio_rubric(choice):
|
164 |
-
|
|
|
165 |
return gr.Textbox(
|
166 |
visible=False
|
167 |
)
|
@@ -176,7 +177,8 @@ def change_audio_rubric(choice):
|
|
176 |
|
177 |
|
178 |
def change_audio_eval(choice):
|
179 |
-
|
|
|
180 |
return gr.Textbox(
|
181 |
visible=False,
|
182 |
)
|
|
|
161 |
|
162 |
|
163 |
def change_audio_rubric(choice):
|
164 |
+
print(choice)
|
165 |
+
if choice == "Video only":
|
166 |
return gr.Textbox(
|
167 |
visible=False
|
168 |
)
|
|
|
177 |
|
178 |
|
179 |
def change_audio_eval(choice):
|
180 |
+
print(choice)
|
181 |
+
if choice == "Video only":
|
182 |
return gr.Textbox(
|
183 |
visible=False,
|
184 |
)
|