ford442 commited on
Commit
0584a8e
·
verified ·
1 Parent(s): ce01be0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import os
2
  import streamlit as st
3
  from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
@@ -5,7 +7,6 @@ import soundfile as sf
5
  import numpy as np
6
  import torch # Import torch
7
  from espnet2.bin.tts_inference import Text2Speech
8
- import spaces
9
 
10
  # --- Whisper (ASR) - We'll use this instead of image captioning ---
11
  ASR_MODEL_NAME = "openai/whisper-large-v2"
 
1
+ import spaces
2
+
3
  import os
4
  import streamlit as st
5
  from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
 
7
  import numpy as np
8
  import torch # Import torch
9
  from espnet2.bin.tts_inference import Text2Speech
 
10
 
11
  # --- Whisper (ASR) - We'll use this instead of image captioning ---
12
  ASR_MODEL_NAME = "openai/whisper-large-v2"