yaya-sy commited on
Commit
484ff18
1 Parent(s): da142ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from pipeline
3
  import torch
4
  import librosa
5
  import json
@@ -13,7 +13,6 @@ def load_model(model_name = "cawoylel/windanam_mms-1b-tts_v2"):
13
 
14
  pipeline = load_model()
15
 
16
- st.cache_data(show_spinner=st.session_state.mapping[st.session_state.language]["transcribe"])
17
  def transcribe_audio(sample):
18
  """
19
  Transcribe audio
 
1
  import gradio as gr
2
+ from transformers import pipeline
3
  import torch
4
  import librosa
5
  import json
 
13
 
14
  pipeline = load_model()
15
 
 
16
  def transcribe_audio(sample):
17
  """
18
  Transcribe audio