smakamali commited on
Commit
1f6084d
·
1 Parent(s): 5c78daa

make inference via APIs default in prompts

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -325,7 +325,7 @@ def summarize_youtube_video(url,force_transcribe,use_transcribe_api=False,api_to
325
  html = '<iframe width="100%" height="315" src="https://www.youtube.com/embed/" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
326
 
327
  def change_transcribe_api(vis):
328
- return gr.Checkbox(value=False, visible=vis)
329
 
330
  def change_api_token(vis):
331
  return gr.Textbox(visible=vis)
 
325
  html = '<iframe width="100%" height="315" src="https://www.youtube.com/embed/" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
326
 
327
  def change_transcribe_api(vis):
328
+ return gr.Checkbox(value=True, visible=vis)
329
 
330
  def change_api_token(vis):
331
  return gr.Textbox(visible=vis)