Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|