smakamali commited on
Commit
eb0d487
β€’
1 Parent(s): 3994376

add links to medium posts

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import os
2
- save_dir= os.path.join('./','docs')
3
  if not os.path.exists(save_dir):
4
  os.mkdir(save_dir)
5
 
@@ -353,6 +353,8 @@ with gr.Blocks() as demo:
353
  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.')
354
  with gr.Column(scale=1):
355
  sum_btn = gr.Button("Summarize!")
 
 
356
 
357
  with gr.Accordion("Transcription Settings",open=False):
358
  with gr.Row():
 
1
  import os
2
+ save_dir= os.path.join(os.getcwd(),'docs')
3
  if not os.path.exists(save_dir):
4
  os.mkdir(save_dir)
5
 
 
353
  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.')
354
  with gr.Column(scale=1):
355
  sum_btn = gr.Button("Summarize!")
356
+ gr.Markdown("Please like the repo if you find this helpful. Detailed instructions for recreating this tool are provided [here](https://pub.towardsai.net/a-complete-guide-for-creating-an-ai-assistant-for-summarizing-youtube-videos-part-1-32fbadabc2cc?sk=34269402931178039c4c3589df4a6ec5) and [here](https://pub.towardsai.net/a-complete-guide-for-creating-an-ai-assistant-for-summarizing-youtube-videos-part-2-a008ee18f341?sk=d59046b36a52c74dfa8befa99183e5b6).")
357
+
358
 
359
  with gr.Accordion("Transcription Settings",open=False):
360
  with gr.Row():