ysharma HF staff commited on
Commit
3083037
1 Parent(s): b65174f
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -12,9 +12,8 @@ import cv2
12
 
13
 
14
  API_URL = "https://api-inference.huggingface.co/models/facebook/wav2vec2-base-960h"
15
- headers = {"Authorization": "Bearer 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"}
16
- #HF_TOKEN = os.environ["HF_TOKEN"]
17
- #headers = {"Authorization": f"Bearer {HF_TOKEN}"}
18
 
19
 
20
  def generate_transcripts(in_video): #generate_gifs(in_video, gif_transcript):
@@ -307,10 +306,10 @@ with demo:
307
 
308
  ```
309
 
310
- While working on apps for [Gradio Blocks Party](https://huggingface.co/Gradio-Blocks) I have gained a tremendous amount of knowledge about Gradio and Huggingface APIs and infrastructure. I was also able to polish my understanding and learn new things on some of the key and most interesting ML aspects like Question Answering, Sentence Trnasformers, Summarization, Image Generation, LLMs, Prompt Engineering, and now ASR and Video processing.
311
- I absolutely love Spaces, I believe Spaces is much more than a platform to showcase your ML demos. I suppose it can act like an ML Product Sandbox with the benefits whole of Huggingface might and infra behind it. I believe Spaces can become sort of a playground for future ML products and ideas. ALl of this is extremely exciting.
312
 
313
- Thanks for reading so far, I will see you at my next submission. Keep learning and sharing.
314
 
315
  My last two Gradio Blocks Party apps can be found here -
316
 
 
12
 
13
 
14
  API_URL = "https://api-inference.huggingface.co/models/facebook/wav2vec2-base-960h"
15
+ HF_TOKEN = os.environ["HF_TOKEN"]
16
+ headers = {"Authorization": f"Bearer {HF_TOKEN}"}
 
17
 
18
 
19
  def generate_transcripts(in_video): #generate_gifs(in_video, gif_transcript):
 
306
 
307
  ```
308
 
309
+ While working on apps for [Gradio Blocks Party](https://huggingface.co/Gradio-Blocks) I have gained a good amount of knowledge about Gradio and Huggingface APIs and infrastructure. Such events help you to revise and develop your understanding of various ML applications and tools. For example, couple apps I have recently worked on included concepts like Question Answering, Sentence Trnasformers, Summarization, Image Generation, LLMs, Prompt Engineering, and now ASR and Video processing.
310
+ I absolutely enjoy building on Spaces, and I believe Spaces is much more than just a platform to showcase your ML demos. I suppose it has the potential to act like an ML Product Sandbox with the benefit of now having entire Huggingface infrastructure behind it. I believe Spaces can become some sort of a playground for future ML products and ideas. All of this is extremely exciting and I hope for the best outcome.
311
 
312
+ Thanks for reading so far, I will see you at my next Space demo. Keep learning and sharing.
313
 
314
  My last two Gradio Blocks Party apps can be found here -
315