Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def transcribe(audio, state={}, lang=None):
|
|
| 18 |
text = state['transcription']
|
| 19 |
keyword = kw_model.extract_keywords(text, keyphrase_ngram_range=(1, 1), stop_words=None, top_n=1)
|
| 20 |
|
| 21 |
-
if len(keyword) > 0 and len(text) > 0:
|
| 22 |
#sendToSheets(keyword[0][0], text)
|
| 23 |
|
| 24 |
|
|
|
|
| 18 |
text = state['transcription']
|
| 19 |
keyword = kw_model.extract_keywords(text, keyphrase_ngram_range=(1, 1), stop_words=None, top_n=1)
|
| 20 |
|
| 21 |
+
#if len(keyword) > 0 and len(text) > 0:
|
| 22 |
#sendToSheets(keyword[0][0], text)
|
| 23 |
|
| 24 |
|