awacke1 commited on
Commit
4d357c1
1 Parent(s): 67f9f1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -1,8 +1,26 @@
 
 
1
  import logging
2
  import sys
3
- import gradio as gr
 
 
 
 
 
 
 
 
4
  from transformers import pipeline, AutoModelForCTC, Wav2Vec2Processor, Wav2Vec2ProcessorWithLM
5
 
 
 
 
 
 
 
 
 
6
  logging.basicConfig(
7
  format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
8
  datefmt="%m/%d/%Y %H:%M:%S",
 
1
+ import gradio as gr
2
+ import streamlit as st
3
  import logging
4
  import sys
5
+ import firebase_admin
6
+ import tempfile
7
+ import numpy as np
8
+ import datetime
9
+
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
+
23
+
24
  logging.basicConfig(
25
  format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
26
  datefmt="%m/%d/%Y %H:%M:%S",