Spaces:
Sleeping
Sleeping
Commit
·
4b5f136
1
Parent(s):
b490ddd
edited app.py
Browse files- .gitattributes +35 -35
- README.md +11 -11
- app/__pycache__/emotion_data.cpython-311.pyc +0 -0
- app/app.py +6 -5
- app/modules/__pycache__/__init__.cpython-311.pyc +0 -0
- app/modules/__pycache__/utils.cpython-311.pyc +0 -0
- app/modules/emotion/__pycache__/__init__.cpython-311.pyc +0 -0
- app/modules/transcription/__pycache__/__init__.cpython-311.pyc +0 -0
- app/static/distract.js +4 -4
- app/static/energy.js +11 -7
- app/static/engage.js +3 -3
- app/static/main.js +0 -1
- app/static/reflective.js +3 -3
- app/static/script.png +0 -0
- app/static/soothie.js +3 -3
- app/static/text_to_speech.png +0 -0
- app/templates/index.html +1 -1
- requirements.txt +7 -7
.gitattributes
CHANGED
@@ -1,35 +1,35 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
---
|
2 |
-
title: Test
|
3 |
-
emoji: ⚡
|
4 |
-
colorFrom: green
|
5 |
-
colorTo: green
|
6 |
-
sdk: docker
|
7 |
-
pinned: false
|
8 |
-
license: apache-2.0
|
9 |
-
---
|
10 |
-
|
11 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
---
|
2 |
+
title: Test
|
3 |
+
emoji: ⚡
|
4 |
+
colorFrom: green
|
5 |
+
colorTo: green
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
license: apache-2.0
|
9 |
+
---
|
10 |
+
|
11 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app/__pycache__/emotion_data.cpython-311.pyc
CHANGED
Binary files a/app/__pycache__/emotion_data.cpython-311.pyc and b/app/__pycache__/emotion_data.cpython-311.pyc differ
|
|
app/app.py
CHANGED
@@ -5,7 +5,7 @@ from flask import Flask, flash, render_template, request, jsonify, url_for
|
|
5 |
from flask.templating import TemplateNotFound
|
6 |
from flask_cors import CORS
|
7 |
from modules import Module
|
8 |
-
|
9 |
model = Module()
|
10 |
|
11 |
|
@@ -105,8 +105,9 @@ def distractandchange():
|
|
105 |
emotionInfo = emotion_data[emotion]
|
106 |
return render_template('distractandchange.html', text=text, emotion=emotion, emotionInfo=emotionInfo)
|
107 |
else:
|
108 |
-
return jsonify({"error": "Emotion not found"}), 404
|
109 |
|
|
|
110 |
def energeticandmotivate():
|
111 |
text = request.args.get('text', '') # Get predicted text
|
112 |
emotion = request.args.get('emotion', '') # Get predicted emotion
|
@@ -114,7 +115,7 @@ def energeticandmotivate():
|
|
114 |
emotionInfo = emotion_data[emotion]
|
115 |
return render_template('energeticandmotivate.html', text=text, emotion=emotion, emotionInfo=emotionInfo)
|
116 |
else:
|
117 |
-
return jsonify({"error": "Emotion not found"}), 404
|
118 |
|
119 |
@app.route('/engageandexplore', methods=['GET'])
|
120 |
def engageandexplore():
|
@@ -124,7 +125,7 @@ def engageandexplore():
|
|
124 |
emotionInfo = emotion_data[emotion]
|
125 |
return render_template('engageandexplore.html', text=text, emotion=emotion, emotionInfo=emotionInfo)
|
126 |
else:
|
127 |
-
return jsonify({"error": "Emotion not found"}), 404
|
128 |
|
129 |
# Add more routes as needed, mirroring your category names
|
130 |
@app.route('/soothieanduplift', methods=['GET'])
|
@@ -135,7 +136,7 @@ def soothieanduplift():
|
|
135 |
emotionInfo = emotion_data[emotion]
|
136 |
return render_template('soothieanduplift.html', text=text, emotion=emotion, emotionInfo=emotionInfo)
|
137 |
else:
|
138 |
-
return jsonify({"error": "Emotion not found"}), 404
|
139 |
|
140 |
# Add more routes as needed, mirroring your category names
|
141 |
|
|
|
5 |
from flask.templating import TemplateNotFound
|
6 |
from flask_cors import CORS
|
7 |
from modules import Module
|
8 |
+
from emotion_data import emotion_data
|
9 |
model = Module()
|
10 |
|
11 |
|
|
|
105 |
emotionInfo = emotion_data[emotion]
|
106 |
return render_template('distractandchange.html', text=text, emotion=emotion, emotionInfo=emotionInfo)
|
107 |
else:
|
108 |
+
return jsonify({"error": "Emotion not found"}), 404
|
109 |
|
110 |
+
@app.route('/energeticandmotivate', methods=['GET'])
|
111 |
def energeticandmotivate():
|
112 |
text = request.args.get('text', '') # Get predicted text
|
113 |
emotion = request.args.get('emotion', '') # Get predicted emotion
|
|
|
115 |
emotionInfo = emotion_data[emotion]
|
116 |
return render_template('energeticandmotivate.html', text=text, emotion=emotion, emotionInfo=emotionInfo)
|
117 |
else:
|
118 |
+
return jsonify({"error": "Emotion not found"}), 404
|
119 |
|
120 |
@app.route('/engageandexplore', methods=['GET'])
|
121 |
def engageandexplore():
|
|
|
125 |
emotionInfo = emotion_data[emotion]
|
126 |
return render_template('engageandexplore.html', text=text, emotion=emotion, emotionInfo=emotionInfo)
|
127 |
else:
|
128 |
+
return jsonify({"error": "Emotion not found"}), 404
|
129 |
|
130 |
# Add more routes as needed, mirroring your category names
|
131 |
@app.route('/soothieanduplift', methods=['GET'])
|
|
|
136 |
emotionInfo = emotion_data[emotion]
|
137 |
return render_template('soothieanduplift.html', text=text, emotion=emotion, emotionInfo=emotionInfo)
|
138 |
else:
|
139 |
+
return jsonify({"error": "Emotion not found"}), 404
|
140 |
|
141 |
# Add more routes as needed, mirroring your category names
|
142 |
|
app/modules/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/app/modules/__pycache__/__init__.cpython-311.pyc and b/app/modules/__pycache__/__init__.cpython-311.pyc differ
|
|
app/modules/__pycache__/utils.cpython-311.pyc
CHANGED
Binary files a/app/modules/__pycache__/utils.cpython-311.pyc and b/app/modules/__pycache__/utils.cpython-311.pyc differ
|
|
app/modules/emotion/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/app/modules/emotion/__pycache__/__init__.cpython-311.pyc and b/app/modules/emotion/__pycache__/__init__.cpython-311.pyc differ
|
|
app/modules/transcription/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/app/modules/transcription/__pycache__/__init__.cpython-311.pyc and b/app/modules/transcription/__pycache__/__init__.cpython-311.pyc differ
|
|
app/static/distract.js
CHANGED
@@ -37,19 +37,19 @@ let track_list = [
|
|
37 |
name: "I'm Still Standing",
|
38 |
artist: "Elton John",
|
39 |
image: "/static/imstillstanding.jpeg",
|
40 |
-
path: "/static/Elton John - I'm Still Standing.mp3"
|
41 |
},
|
42 |
{
|
43 |
name: "Starboy",
|
44 |
artist: "Weeknd",
|
45 |
-
image: "/static/weeknd.
|
46 |
-
path: "/static/The Weeknd - Starboy ft.mp3"
|
47 |
},
|
48 |
{
|
49 |
name: "All Star",
|
50 |
artist: "Smash Mouth",
|
51 |
image: "/static/allstarsmash.jpeg",
|
52 |
-
path: "/static/Smash Mouth - All Star (Official Music Video).mp3"
|
53 |
}
|
54 |
|
55 |
];
|
|
|
37 |
name: "I'm Still Standing",
|
38 |
artist: "Elton John",
|
39 |
image: "/static/imstillstanding.jpeg",
|
40 |
+
path: "/static/Elton John - I'm Still Standing.mp3"
|
41 |
},
|
42 |
{
|
43 |
name: "Starboy",
|
44 |
artist: "Weeknd",
|
45 |
+
image: "/static/weeknd.jpeg",
|
46 |
+
path: "/static/The Weeknd - Starboy ft.mp3"
|
47 |
},
|
48 |
{
|
49 |
name: "All Star",
|
50 |
artist: "Smash Mouth",
|
51 |
image: "/static/allstarsmash.jpeg",
|
52 |
+
path: "/static/Smash Mouth - All Star (Official Music Video).mp3"
|
53 |
}
|
54 |
|
55 |
];
|
app/static/energy.js
CHANGED
@@ -24,24 +24,26 @@ let track_list = [
|
|
24 |
{
|
25 |
name: "Stronger",
|
26 |
artist: "Kanye West",
|
27 |
-
image: "stronger.jpeg",
|
28 |
-
path: "Kanye West - Stronger.mp3"
|
29 |
},
|
30 |
{
|
31 |
name: "Chak De India",
|
32 |
artist: "Salim-Sulaiman",
|
33 |
-
image: "chakdeindia.jpeg",
|
34 |
-
path: "Chak De India Song Title Song Shah Rukh Khan Sukhwinder Singh Salim-Sulaiman Jaideep Sahni.mp3 }
|
|
|
35 |
{
|
36 |
name: "Dhaakad",
|
37 |
artist: "Pritam",
|
38 |
-
image: "dangal.jpeg",
|
39 |
-
path: "Dhaakad - Full Video Dangal Aamir Khan Pritam Amitabh Bhattacharya Raftaar.mp3 }
|
|
|
40 |
{
|
41 |
name: "Roar",
|
42 |
artist: "Katy Perry",
|
43 |
image: "/static/roar.jpeg",
|
44 |
-
path: "/static/Katy Perry - Roar.mp3"
|
45 |
},
|
46 |
|
47 |
{
|
@@ -161,3 +163,5 @@ function seekUpdate() {
|
|
161 |
}
|
162 |
|
163 |
|
|
|
|
|
|
24 |
{
|
25 |
name: "Stronger",
|
26 |
artist: "Kanye West",
|
27 |
+
image: "/static/stronger.jpeg",
|
28 |
+
path: "/static/Kanye West - Stronger.mp3"
|
29 |
},
|
30 |
{
|
31 |
name: "Chak De India",
|
32 |
artist: "Salim-Sulaiman",
|
33 |
+
image: "/static/chakdeindia.jpeg",
|
34 |
+
path: "/static/Chak De India Song Title Song Shah Rukh Khan Sukhwinder Singh Salim-Sulaiman Jaideep Sahni.mp3 }"
|
35 |
+
},
|
36 |
{
|
37 |
name: "Dhaakad",
|
38 |
artist: "Pritam",
|
39 |
+
image: "/static/dangal.jpeg",
|
40 |
+
path: "/static/Dhaakad - Full Video Dangal Aamir Khan Pritam Amitabh Bhattacharya Raftaar.mp3 }"
|
41 |
+
},
|
42 |
{
|
43 |
name: "Roar",
|
44 |
artist: "Katy Perry",
|
45 |
image: "/static/roar.jpeg",
|
46 |
+
path: "/static/Katy Perry - Roar.mp3"
|
47 |
},
|
48 |
|
49 |
{
|
|
|
163 |
}
|
164 |
|
165 |
|
166 |
+
|
167 |
+
|
app/static/engage.js
CHANGED
@@ -25,7 +25,7 @@ let track_list = [
|
|
25 |
name: "Smells Like Teen Spirit ",
|
26 |
artist: "Nirvana",
|
27 |
image: "/static/smellsliketeen.jpeg",
|
28 |
-
path: "/static/Nirvana - Smells Like Teen Spirit (Official Music Video).mp3"
|
29 |
},
|
30 |
{
|
31 |
name: "lifeonmars",
|
@@ -43,13 +43,13 @@ let track_list = [
|
|
43 |
name: "Hotel California",
|
44 |
artist: "Remaster",
|
45 |
image: "/static/hotelcalifornia.jpeg",
|
46 |
-
path: "/static/Hotel California (2013 Remaster).mp3"
|
47 |
},
|
48 |
{
|
49 |
name: "Hallelujah",
|
50 |
artist: "Leonard Cohen",
|
51 |
image: "/static/hallelujah.jpeg",
|
52 |
-
path: "/static/Leonard Cohen - Hallelujah (Live In London).mp3"
|
53 |
}
|
54 |
|
55 |
];
|
|
|
25 |
name: "Smells Like Teen Spirit ",
|
26 |
artist: "Nirvana",
|
27 |
image: "/static/smellsliketeen.jpeg",
|
28 |
+
path: "/static/Nirvana - Smells Like Teen Spirit (Official Music Video).mp3"
|
29 |
},
|
30 |
{
|
31 |
name: "lifeonmars",
|
|
|
43 |
name: "Hotel California",
|
44 |
artist: "Remaster",
|
45 |
image: "/static/hotelcalifornia.jpeg",
|
46 |
+
path: "/static/Hotel California (2013 Remaster).mp3"
|
47 |
},
|
48 |
{
|
49 |
name: "Hallelujah",
|
50 |
artist: "Leonard Cohen",
|
51 |
image: "/static/hallelujah.jpeg",
|
52 |
+
path: "/static/Leonard Cohen - Hallelujah (Live In London).mp3"
|
53 |
}
|
54 |
|
55 |
];
|
app/static/main.js
CHANGED
@@ -84,7 +84,6 @@ function cancelAnalyserUpdates() {
|
|
84 |
window.cancelAnimationFrame(rafID);
|
85 |
rafID = null;
|
86 |
}
|
87 |
-
|
88 |
function updateAnalysers(time) {
|
89 |
if (!analyserContext) {
|
90 |
var canvas = document.getElementById("analyser");
|
|
|
84 |
window.cancelAnimationFrame(rafID);
|
85 |
rafID = null;
|
86 |
}
|
|
|
87 |
function updateAnalysers(time) {
|
88 |
if (!analyserContext) {
|
89 |
var canvas = document.getElementById("analyser");
|
app/static/reflective.js
CHANGED
@@ -37,19 +37,19 @@ let track_list = [
|
|
37 |
name: "Fix You",
|
38 |
artist: "Coldplay",
|
39 |
image: "/static/fixyou.jpeg",
|
40 |
-
path: "/static/Coldplay - Fix You (Official Video).mp3"
|
41 |
},
|
42 |
{
|
43 |
name: "Everybody Hurts",
|
44 |
artist: "R.E.M.",
|
45 |
image: "/static/everybodyhrts.jpeg",
|
46 |
-
path: "/static/R.E.M. - Everybody Hurts (Official Music Video).mp3"
|
47 |
},
|
48 |
{
|
49 |
name: "The Sound of Silence",
|
50 |
artist: "Simon & Garfunkel",
|
51 |
image: "/static/soundofsilence.jpeg",
|
52 |
-
path: "/static/Simon & Garfunkel - The Sound of Silence (from The Concert in Central Park).mp3"
|
53 |
}
|
54 |
];
|
55 |
|
|
|
37 |
name: "Fix You",
|
38 |
artist: "Coldplay",
|
39 |
image: "/static/fixyou.jpeg",
|
40 |
+
path: "/static/Coldplay - Fix You (Official Video).mp3"
|
41 |
},
|
42 |
{
|
43 |
name: "Everybody Hurts",
|
44 |
artist: "R.E.M.",
|
45 |
image: "/static/everybodyhrts.jpeg",
|
46 |
+
path: "/static/R.E.M. - Everybody Hurts (Official Music Video).mp3"
|
47 |
},
|
48 |
{
|
49 |
name: "The Sound of Silence",
|
50 |
artist: "Simon & Garfunkel",
|
51 |
image: "/static/soundofsilence.jpeg",
|
52 |
+
path: "/static/Simon & Garfunkel - The Sound of Silence (from The Concert in Central Park).mp3"
|
53 |
}
|
54 |
];
|
55 |
|
app/static/script.png
ADDED
![]() |
app/static/soothie.js
CHANGED
@@ -37,19 +37,19 @@ let track_list = [
|
|
37 |
name: "Kal Ho Naa Ho",
|
38 |
artist: "Sonu Nigam Karan J",
|
39 |
image: "/static/kalhonaho.jpeg",
|
40 |
-
path: "/static/Kal Ho Naa Ho Full Video - Title TrackShah Rukh Khan,Saif Ali,PreitySonu NigamKaran J.mp3
|
41 |
},
|
42 |
{
|
43 |
name: "Moh Moh Ke Dhaage",
|
44 |
artist: "Anu Malik, Varun",
|
45 |
image: "/static/mohmohkedage.jpeg",
|
46 |
-
path: "/static/Moh Moh Ke Dhaage Lyrical Song Dum Laga Ke Haisha Ayushmann, Bhumi Monali Anu Malik, Varun.mp3"
|
47 |
},
|
48 |
{
|
49 |
name: "You've Got A Friend",
|
50 |
artist: "James Taylor",
|
51 |
image: "/static/yougotafriend.jpeg",
|
52 |
-
path: "/static/James Taylor -
|
53 |
},
|
54 |
|
55 |
];
|
|
|
37 |
name: "Kal Ho Naa Ho",
|
38 |
artist: "Sonu Nigam Karan J",
|
39 |
image: "/static/kalhonaho.jpeg",
|
40 |
+
path: "/static/Kal Ho Naa Ho Full Video - Title TrackShah Rukh Khan,Saif Ali,PreitySonu NigamKaran J.mp3"
|
41 |
},
|
42 |
{
|
43 |
name: "Moh Moh Ke Dhaage",
|
44 |
artist: "Anu Malik, Varun",
|
45 |
image: "/static/mohmohkedage.jpeg",
|
46 |
+
path: "/static/Moh Moh Ke Dhaage Lyrical Song Dum Laga Ke Haisha Ayushmann, Bhumi Monali Anu Malik, Varun.mp3"
|
47 |
},
|
48 |
{
|
49 |
name: "You've Got A Friend",
|
50 |
artist: "James Taylor",
|
51 |
image: "/static/yougotafriend.jpeg",
|
52 |
+
path: "/static/James Taylor - You_ve Got A Friend (Official Audio).mp3"
|
53 |
},
|
54 |
|
55 |
];
|
app/static/text_to_speech.png
ADDED
![]() |
app/templates/index.html
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<section class="text-gray-700 body-font flex flex-col items-center justify-center min-h-screen">
|
21 |
<div class="container mx-auto">
|
22 |
<div class="flex flex-col w-full md:w-1/2 mx-auto">
|
23 |
-
<h1 class="title-font" id="title">Welcome to
|
24 |
<p class="title-font sm:text-4xl text-3xl mb-4 font-medium text-gray-900 animate-pulse">
|
25 |
"The power of words can inspire, uplift, and transform." </p>
|
26 |
<form action="/audio_to_text/">
|
|
|
20 |
<section class="text-gray-700 body-font flex flex-col items-center justify-center min-h-screen">
|
21 |
<div class="container mx-auto">
|
22 |
<div class="flex flex-col w-full md:w-1/2 mx-auto">
|
23 |
+
<h1 class="title-font" id="title">Welcome to Embrace Your Mood !!</h1>
|
24 |
<p class="title-font sm:text-4xl text-3xl mb-4 font-medium text-gray-900 animate-pulse">
|
25 |
"The power of words can inspire, uplift, and transform." </p>
|
26 |
<form action="/audio_to_text/">
|
requirements.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
transformers
|
2 |
-
accelerate
|
3 |
-
torch
|
4 |
-
whisper
|
5 |
-
Flask
|
6 |
-
Flask-Cors
|
7 |
-
faster-whisper
|
|
|
1 |
+
transformers
|
2 |
+
accelerate
|
3 |
+
torch
|
4 |
+
whisper
|
5 |
+
Flask
|
6 |
+
Flask-Cors
|
7 |
+
faster-whisper
|