mj-new
commited on
Commit
·
60266ca
1
Parent(s):
7cd90fe
Testing tabs
Browse files- .python-version +1 -0
- app.py +6 -2
- requirements.txt +20 -0
.python-version
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
bigos-hf
|
app.py
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
8 |
# comment
|
|
|
1 |
import gradio as gr
|
2 |
+
import whisper
|
3 |
|
4 |
def greet(name):
|
5 |
return "Hello " + name + "!!"
|
6 |
|
7 |
+
with gr.Tabs():
|
8 |
+
with gr.TabItem('Voicebot'):
|
9 |
+
|
10 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
11 |
+
iface.launch()
|
12 |
# comment
|
requirements.txt
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pandas
|
2 |
+
scipy
|
3 |
+
pycountry
|
4 |
+
numpy
|
5 |
+
matplotlib
|
6 |
+
datasets
|
7 |
+
transformers
|
8 |
+
librosa
|
9 |
+
torch
|
10 |
+
huggingface-hub>=0.9.1
|
11 |
+
torchaudio
|
12 |
+
google-cloud-speech
|
13 |
+
azure-cognitiveservices-speech
|
14 |
+
openai
|
15 |
+
tqdm
|
16 |
+
openai-whisper
|
17 |
+
configparser
|
18 |
+
jiwer
|
19 |
+
pytest
|
20 |
+
pandera
|