Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,10 +79,7 @@ def senti_model(transcription):
|
|
| 79 |
def main(input_file):
|
| 80 |
|
| 81 |
|
| 82 |
-
|
| 83 |
-
processed_audio = input_file
|
| 84 |
-
|
| 85 |
-
|
| 86 |
transcription = asr_model(processed_audio)
|
| 87 |
final_result = senti_model(transcription)
|
| 88 |
st.write(final_result)
|
|
|
|
| 79 |
def main(input_file):
|
| 80 |
|
| 81 |
|
| 82 |
+
processed_audio = audio_preprocess(input_file)
|
|
|
|
|
|
|
|
|
|
| 83 |
transcription = asr_model(processed_audio)
|
| 84 |
final_result = senti_model(transcription)
|
| 85 |
st.write(final_result)
|