Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,24 +1,15 @@
|
|
1 |
import gradio as gr
|
2 |
-
#import streamlit as st
|
3 |
import logging
|
4 |
import sys
|
5 |
import tempfile
|
6 |
import numpy as np
|
7 |
import datetime
|
8 |
|
9 |
-
#import firebase_admin
|
10 |
-
#from firebase_admin import credentials
|
11 |
-
#from firebase_admin import firestore
|
12 |
-
|
13 |
-
#from transformers import pipeline
|
14 |
from transformers import pipeline, AutoModelForCTC, Wav2Vec2Processor, Wav2Vec2ProcessorWithLM
|
15 |
-
|
16 |
from typing import Optional
|
17 |
-
|
18 |
from TTS.utils.manage import ModelManager
|
19 |
from TTS.utils.synthesizer import Synthesizer
|
20 |
|
21 |
-
|
22 |
logging.basicConfig(
|
23 |
format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
|
24 |
datefmt="%m/%d/%Y %H:%M:%S",
|
|
|
1 |
import gradio as gr
|
|
|
2 |
import logging
|
3 |
import sys
|
4 |
import tempfile
|
5 |
import numpy as np
|
6 |
import datetime
|
7 |
|
|
|
|
|
|
|
|
|
|
|
8 |
from transformers import pipeline, AutoModelForCTC, Wav2Vec2Processor, Wav2Vec2ProcessorWithLM
|
|
|
9 |
from typing import Optional
|
|
|
10 |
from TTS.utils.manage import ModelManager
|
11 |
from TTS.utils.synthesizer import Synthesizer
|
12 |
|
|
|
13 |
logging.basicConfig(
|
14 |
format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
|
15 |
datefmt="%m/%d/%Y %H:%M:%S",
|