Spaces:
Build error
Build error
rayan-saleh
commited on
Commit
•
409d787
1
Parent(s):
7d9f678
share=true
Browse files- .DS_Store +0 -0
- app.py +1 -1
- client/index.html +2 -0
- client/package-lock.json +34 -1
- client/package.json +3 -2
- client/src/App.jsx +0 -0
- src/.DS_Store +0 -0
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
app.py
CHANGED
@@ -423,7 +423,7 @@ def create_ui(input_audio_max_duration, share=False, server_name: str = None, se
|
|
423 |
|
424 |
demo = gr.TabbedInterface([simple_transcribe, full_transcribe], tab_names=["Simple", "Full"])
|
425 |
|
426 |
-
demo.launch(share=
|
427 |
|
428 |
# Clean up
|
429 |
ui.close()
|
|
|
423 |
|
424 |
demo = gr.TabbedInterface([simple_transcribe, full_transcribe], tab_names=["Simple", "Full"])
|
425 |
|
426 |
+
demo.launch(share=True, server_name=server_name, server_port=server_port)
|
427 |
|
428 |
# Clean up
|
429 |
ui.close()
|
client/index.html
CHANGED
@@ -13,5 +13,7 @@
|
|
13 |
type="module"
|
14 |
src="https://gradio.s3-us-west-2.amazonaws.com/3.3.1/gradio.js"
|
15 |
></script>
|
|
|
|
|
16 |
</body>
|
17 |
</html>
|
|
|
13 |
type="module"
|
14 |
src="https://gradio.s3-us-west-2.amazonaws.com/3.3.1/gradio.js"
|
15 |
></script>
|
16 |
+
<!-- <gradio-app src="https://rayan-saleh-whisper2notion.hf.space"></gradio-app> -->
|
17 |
+
|
18 |
</body>
|
19 |
</html>
|
client/package-lock.json
CHANGED
@@ -8,7 +8,8 @@
|
|
8 |
"version": "0.0.0",
|
9 |
"dependencies": {
|
10 |
"react": "^18.2.0",
|
11 |
-
"react-dom": "^18.2.0"
|
|
|
12 |
},
|
13 |
"devDependencies": {
|
14 |
"@types/react": "^18.0.26",
|
@@ -1153,6 +1154,14 @@
|
|
1153 |
"integrity": "sha512-2xfmOrRkGogbTK9R6Leda0DGiXeY3p2NJpy4+gNCffdUvV6mdEJnaDEic1i3Ec2djAo8jWYoJMR5PB0MSMpxUA==",
|
1154 |
"dev": true
|
1155 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1156 |
"node_modules/path-parse": {
|
1157 |
"version": "1.0.7",
|
1158 |
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
@@ -1212,6 +1221,17 @@
|
|
1212 |
"react": "^18.2.0"
|
1213 |
}
|
1214 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1215 |
"node_modules/react-refresh": {
|
1216 |
"version": "0.14.0",
|
1217 |
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz",
|
@@ -2128,6 +2148,11 @@
|
|
2128 |
"integrity": "sha512-2xfmOrRkGogbTK9R6Leda0DGiXeY3p2NJpy4+gNCffdUvV6mdEJnaDEic1i3Ec2djAo8jWYoJMR5PB0MSMpxUA==",
|
2129 |
"dev": true
|
2130 |
},
|
|
|
|
|
|
|
|
|
|
|
2131 |
"path-parse": {
|
2132 |
"version": "1.0.7",
|
2133 |
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
@@ -2168,6 +2193,14 @@
|
|
2168 |
"scheduler": "^0.23.0"
|
2169 |
}
|
2170 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2171 |
"react-refresh": {
|
2172 |
"version": "0.14.0",
|
2173 |
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz",
|
|
|
8 |
"version": "0.0.0",
|
9 |
"dependencies": {
|
10 |
"react": "^18.2.0",
|
11 |
+
"react-dom": "^18.2.0",
|
12 |
+
"react-iframe": "^1.8.5"
|
13 |
},
|
14 |
"devDependencies": {
|
15 |
"@types/react": "^18.0.26",
|
|
|
1154 |
"integrity": "sha512-2xfmOrRkGogbTK9R6Leda0DGiXeY3p2NJpy4+gNCffdUvV6mdEJnaDEic1i3Ec2djAo8jWYoJMR5PB0MSMpxUA==",
|
1155 |
"dev": true
|
1156 |
},
|
1157 |
+
"node_modules/object-assign": {
|
1158 |
+
"version": "4.1.1",
|
1159 |
+
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
1160 |
+
"integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
|
1161 |
+
"engines": {
|
1162 |
+
"node": ">=0.10.0"
|
1163 |
+
}
|
1164 |
+
},
|
1165 |
"node_modules/path-parse": {
|
1166 |
"version": "1.0.7",
|
1167 |
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
|
|
1221 |
"react": "^18.2.0"
|
1222 |
}
|
1223 |
},
|
1224 |
+
"node_modules/react-iframe": {
|
1225 |
+
"version": "1.8.5",
|
1226 |
+
"resolved": "https://registry.npmjs.org/react-iframe/-/react-iframe-1.8.5.tgz",
|
1227 |
+
"integrity": "sha512-F4cQJGs3ydaG6fJWfuz9yLwOU0Trzl6kttXuUG+vYwosH8enOOFxZWEDQCSbNVO8ayjfYZeqLxEvdvcsSy4GvA==",
|
1228 |
+
"dependencies": {
|
1229 |
+
"object-assign": "^4.1.1"
|
1230 |
+
},
|
1231 |
+
"peerDependencies": {
|
1232 |
+
"react": ">=16.x.x"
|
1233 |
+
}
|
1234 |
+
},
|
1235 |
"node_modules/react-refresh": {
|
1236 |
"version": "0.14.0",
|
1237 |
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz",
|
|
|
2148 |
"integrity": "sha512-2xfmOrRkGogbTK9R6Leda0DGiXeY3p2NJpy4+gNCffdUvV6mdEJnaDEic1i3Ec2djAo8jWYoJMR5PB0MSMpxUA==",
|
2149 |
"dev": true
|
2150 |
},
|
2151 |
+
"object-assign": {
|
2152 |
+
"version": "4.1.1",
|
2153 |
+
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
2154 |
+
"integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="
|
2155 |
+
},
|
2156 |
"path-parse": {
|
2157 |
"version": "1.0.7",
|
2158 |
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
|
|
2193 |
"scheduler": "^0.23.0"
|
2194 |
}
|
2195 |
},
|
2196 |
+
"react-iframe": {
|
2197 |
+
"version": "1.8.5",
|
2198 |
+
"resolved": "https://registry.npmjs.org/react-iframe/-/react-iframe-1.8.5.tgz",
|
2199 |
+
"integrity": "sha512-F4cQJGs3ydaG6fJWfuz9yLwOU0Trzl6kttXuUG+vYwosH8enOOFxZWEDQCSbNVO8ayjfYZeqLxEvdvcsSy4GvA==",
|
2200 |
+
"requires": {
|
2201 |
+
"object-assign": "^4.1.1"
|
2202 |
+
}
|
2203 |
+
},
|
2204 |
"react-refresh": {
|
2205 |
"version": "0.14.0",
|
2206 |
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz",
|
client/package.json
CHANGED
@@ -10,7 +10,8 @@
|
|
10 |
},
|
11 |
"dependencies": {
|
12 |
"react": "^18.2.0",
|
13 |
-
"react-dom": "^18.2.0"
|
|
|
14 |
},
|
15 |
"devDependencies": {
|
16 |
"@types/react": "^18.0.26",
|
@@ -18,4 +19,4 @@
|
|
18 |
"@vitejs/plugin-react": "^3.0.0",
|
19 |
"vite": "^4.0.0"
|
20 |
}
|
21 |
-
}
|
|
|
10 |
},
|
11 |
"dependencies": {
|
12 |
"react": "^18.2.0",
|
13 |
+
"react-dom": "^18.2.0",
|
14 |
+
"react-iframe": "^1.8.5"
|
15 |
},
|
16 |
"devDependencies": {
|
17 |
"@types/react": "^18.0.26",
|
|
|
19 |
"@vitejs/plugin-react": "^3.0.0",
|
20 |
"vite": "^4.0.0"
|
21 |
}
|
22 |
+
}
|
client/src/App.jsx
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
src/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|