smakamali commited on
Commit
bcc3d69
1 Parent(s): 8aed00f

add Optional to HF token prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -347,7 +347,7 @@ with gr.Blocks() as demo:
347
  with gr.Column(scale=4):
348
  url = gr.Textbox(label="Enter YouTube video URL here:",placeholder="https://www.youtube.com/watch?v=")
349
  with gr.Column(scale=1):
350
- api_token = gr.Textbox(label="Paste your Hugging Face API token here:",placeholder="hf_...",visible=True,show_label=True,info='The API token passed via this field is not stored. It is only passed through the Hugging Face Hub API for inference.')
351
  with gr.Column(scale=1):
352
  sum_btn = gr.Button("Summarize!")
353
 
 
347
  with gr.Column(scale=4):
348
  url = gr.Textbox(label="Enter YouTube video URL here:",placeholder="https://www.youtube.com/watch?v=")
349
  with gr.Column(scale=1):
350
+ api_token = gr.Textbox(label="Paste your Hugging Face API token here (Optional):",placeholder="hf_...",visible=True,show_label=True,info='The API token passed via this field is not stored. It is only passed through the Hugging Face Hub API for inference.')
351
  with gr.Column(scale=1):
352
  sum_btn = gr.Button("Summarize!")
353