Skip to content

camenduru/whisper-jax-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sdk sdk_version app_file
gradio
3.32.0
app.py

Links

🐣 Please follow me for new updates https://twitter.com/camenduru
🔥 Please join our discord server https://discord.gg/k5BwmmvJJU
🥳 Please join my patreon community https://patreon.com/camenduru

Main Repo

https://github.com/openai/whisper https://github.com/sanchit-gandhi/whisper-jax

Model

https://huggingface.co/openai/whisper-large-v2

API Tutorial

Screenshot 2023-06-01 100159

from IPython.display import HTML, display
def set_css():
  display(HTML('''
  <style>
    pre {
        white-space: pre-wrap;
    }
  </style>
  '''))
get_ipython().events.register('pre_run_cell', set_css)

!pip install gradio_client

from gradio_client import Client
client = Client("https://demo.PAGE_ID.lambdaspaces.com/")

video = client.predict("https://www.youtube.com/watch?v=SN2sak8Tp70", fn_index=0)
text, srt = client.predict(video,	fn_index=1)
print(text)
print(srt)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages