Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def sixasr():
|
|
| 32 |
if not base64 or not dialectCode:
|
| 33 |
return {}, 400
|
| 34 |
|
| 35 |
-
if hashlib.sha256(base64.encode('utf-8')).hexdigest() != data.get("
|
| 36 |
return {}, 400
|
| 37 |
|
| 38 |
URL = 'https://nuu-lab-gradio-6asr-whisper.hf.space/run/predict'
|
|
|
|
| 32 |
if not base64 or not dialectCode:
|
| 33 |
return {}, 400
|
| 34 |
|
| 35 |
+
if hashlib.sha256(base64.encode('utf-8')).hexdigest() != data.get("base64Hash"):
|
| 36 |
return {}, 400
|
| 37 |
|
| 38 |
URL = 'https://nuu-lab-gradio-6asr-whisper.hf.space/run/predict'
|