Spaces:
Sleeping
Sleeping
HarshitJoshi
commited on
Commit
•
54996d1
1
Parent(s):
d1adb8f
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ def transcribe_speech(filepath):
|
|
13 |
"task": "transcribe",
|
14 |
"language": "hindi",
|
15 |
},
|
16 |
-
chunk_length_s=
|
17 |
-
batch_size=
|
18 |
)
|
19 |
return output["text"]
|
20 |
|
|
|
13 |
"task": "transcribe",
|
14 |
"language": "hindi",
|
15 |
},
|
16 |
+
chunk_length_s=10, # Reduced chunk length
|
17 |
+
batch_size=4, # Reduced batch size
|
18 |
)
|
19 |
return output["text"]
|
20 |
|