Skip to content
Snippets Groups Projects
Commit 4db49475 authored by zh1516's avatar zh1516
Browse files

deepspeech package added

parent 30d8f362
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ name = "pypi"
[packages]
django = "*"
deepspeech = "*"
[dev-packages]
......
{
"_meta": {
"hash": {
"sha256": "99c4b9ec1b8891ff787677276760beb6d6d4919c55660da1c713682156a6086c"
"sha256": "8d695b1ba7cf0d3abee415b318d1d05db3d3e13e7724ec1248a8ca5f354ce3e4"
},
"pipfile-spec": 6,
"requires": {
......@@ -46,6 +46,28 @@
"markers": "python_version < '3.9'",
"version": "==0.2.1"
},
"deepspeech": {
"hashes": [
"sha256:09e554420943465b48075cb7c5001eae949072104a616de51cde1827d91b519a",
"sha256:2fd85db182eee257075ede89fc6d3323ed40f6458bb34dd4b7386734e839b0d3",
"sha256:420f274f98704692c4590084a932ce49c03b4fea8d91785567eaf5d351eed963",
"sha256:4775256847d8c4b16c60462561f97a6dacf325183469c79f42bd744c06479e0c",
"sha256:70320d5e4a045a4c0f21930934cc9b95a2fa458e3ff16ede768a72664aa8a7a2",
"sha256:7a71d5b5e388818d81afb16b75f4c881cbb28d242481db81e1f2ef8c2be8ba7d",
"sha256:8a90186de75d5e2767ecf46cd70bde3964ec5b3c92301821c846a6103bb33010",
"sha256:9500efc5c2ffa2ad2e540f47c72a8a970c785fd4bc92fe3451910239a8e3be18",
"sha256:9af59b7c16ea711772fa5e1ca23420eb0b84a580de6330da40d3c9587416ebbe",
"sha256:ade7ff44c1556230e170ebe611a4af0e8d51324575261928f747ae742e090356",
"sha256:b25e3203f598300f14cb73ae4e6796a64456ca9c746c167c04381fa939184f2c",
"sha256:bb35cfa11aef0379c823d50da1806153f6bc18f36deaf37e696b5317a2ca6af0",
"sha256:e042ac2cc9f8f9021ec6af1881bf0b6af0fab50d857c0f70608afbbf7c966ea0",
"sha256:e2e7295ba4997ab86b4fb1bd7a784319dfcdb508ce26638063515334c11fa05a",
"sha256:e9251407bc9c51177739994941420d43afc18b972bb3f5296a2b1c11a2b92b06",
"sha256:f387a1234b321ad17c7d9198091fa62799fc0450d5613fbb8569cc362fe7283f"
],
"index": "pypi",
"version": "==0.9.3"
},
"django": {
"hashes": [
"sha256:110fb58fb12eca59e072ad59fc42d771cd642dd7a2f2416582aa9da7a8ef954a",
......@@ -54,6 +76,33 @@
"index": "pypi",
"version": "==4.0.2"
},
"numpy": {
"hashes": [
"sha256:0b0dd8f47fb177d00fa6ef2d58783c4f41ad3126b139c91dd2f7c4b3fdf5e9a5",
"sha256:25ffe71f96878e1da7e014467e19e7db90ae7d4e12affbc73101bcf61785214e",
"sha256:26efd7f7d755e6ca966a5c0ac5a930a87dbbaab1c51716ac26a38f42ecc9bc4b",
"sha256:28b1180c758abf34a5c3fea76fcee66a87def1656724c42bb14a6f9717a5bdf7",
"sha256:2e418f0a59473dac424f888dd57e85f77502a593b207809211c76e5396ae4f5c",
"sha256:30c84e3a62cfcb9e3066f25226e131451312a044f1fe2040e69ce792cb7de418",
"sha256:4650d94bb9c947151737ee022b934b7d9a845a7c76e476f3e460f09a0c8c6f39",
"sha256:4dd830a11e8724c9c9379feed1d1be43113f8bcce55f47ea7186d3946769ce26",
"sha256:4f2a2b279efde194877aff1f76cf61c68e840db242a5c7169f1ff0fd59a2b1e2",
"sha256:62d22566b3e3428dfc9ec972014c38ed9a4db4f8969c78f5414012ccd80a149e",
"sha256:669795516d62f38845c7033679c648903200980d68935baaa17ac5c7ae03ae0c",
"sha256:75fcd60d682db3e1f8fbe2b8b0c6761937ad56d01c1dc73edf4ef2748d5b6bc4",
"sha256:9395b0a41e8b7e9a284e3be7060db9d14ad80273841c952c83a5afc241d2bd98",
"sha256:9e37c35fc4e9410093b04a77d11a34c64bf658565e30df7cbe882056088a91c1",
"sha256:a0678793096205a4d784bd99f32803ba8100f639cf3b932dc63b21621390ea7e",
"sha256:b46554ad4dafb2927f88de5a1d207398c5385edbb5c84d30b3ef187c4a3894d8",
"sha256:c867eeccd934920a800f65c6068acdd6b87e80d45cd8c8beefff783b23cdc462",
"sha256:dd0667f5be56fb1b570154c2c0516a528e02d50da121bbbb2cbb0b6f87f59bc2",
"sha256:de2b1c20494bdf47f0160bd88ed05f5e48ae5dc336b8de7cfade71abcc95c0b9",
"sha256:f1df7b2b7740dd777571c732f98adb5aad5450aee32772f1b39249c8a50386f6",
"sha256:ffca69e29079f7880c5392bf675eb8b4146479d976ae1924d01cd92b04cccbcc"
],
"markers": "python_version >= '3.5'",
"version": "==1.17.3"
},
"sqlparse": {
"hashes": [
"sha256:0c00730c74263a94e5a9919ade150dfc3b19c574389985446148402998287dae",
......@@ -61,6 +110,14 @@
],
"markers": "python_version >= '3.5'",
"version": "==0.4.2"
},
"tzdata": {
"hashes": [
"sha256:3eee491e22ebfe1e5cfcc97a4137cd70f092ce59144d81f8924a844de05ba8f5",
"sha256:68dbe41afd01b867894bbdfd54fa03f468cfa4f0086bfb4adcd8de8f24f3ee21"
],
"markers": "sys_platform == 'win32'",
"version": "==2021.5"
}
},
"develop": {}
......
......@@ -47,7 +47,21 @@ import { Button } from 'semantic-ui-react'
{% block content %}
<!-- Old stuff goes next-->
<h2>Project Description</h2>
<!--<h2>Project Description</h2>-->
<div class="ui vertical stripe segment">
<div class="ui text container">
<h3 class="ui header">Our project</h3>
<p>Overall description goes here.Overall description goes here.Overall description goes here.Overall description goes here.Overall description goes here.Overall description goes here.</p>
<h4 class="ui horizontal header divider">
<a>Functions</a>
</h4>
<h3 class="ui header">Function one</h3>
<p>Description of function one.Description of function one.Description of function one.Description of function one.Description of function one.Description of function one.</p>
<h3 class="ui header">Function two</h3>
<p>Description of function two.Description of function two.Description of function two.Description of function two.Description of function two.Description of function two.</p>
</div>
</div>
{% endblock content %}
\ No newline at end of file
{% extends 'mainTemplate.html' %}
{% block content %}
<br/><br/>
<div>
<form method="POST" action="" enctype="multipart/form-data">
{% csrf_token %}
......@@ -10,4 +10,24 @@
</form>
</div>
{% endblock content %}
\ No newline at end of file
<!--<div class="ui middle aligned center aligned grid container">-->
<!-- <div class="ui fluid segment">-->
<!-- <input type="file" (change)="fileEvent($event)" class="inputfile" id="embedpollfileinput" />-->
<!-- <label for="embedpollfileinput" class="ui huge red right floated button">-->
<!-- <i class="ui upload icon"></i>-->
<!-- Upload image-->
<!-- </label>-->
<!-- <input type="file" (change)="fileEvent($event)" class="inputfile" id="embedpollfileinput" />-->
<!-- <label for="embedpollfileinput" class="ui huge green right floated button">-->
<!-- <i class="ui upload icon"></i>-->
<!-- Upload image-->
<!-- </label>-->
<!-- </div>-->
<!--</div>-->
{% endblock content %}
......@@ -4,6 +4,6 @@ from django.core.exceptions import ValidationError
def validate_file_extension(value):
import os
ext = os.path.splitext(value.name)[1] # [0] returns path+filename
valid_extensions = ['.wav', '.mp3']
valid_extensions = ['.wav']
if not ext.lower() in valid_extensions:
raise ValidationError('Unsupported file extension.')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment