Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,14 +33,8 @@ model = whisper.load_model("base")
|
|
33 |
result = model.transcribe(audio_stream)
|
34 |
transcribed_text = result["text"]
|
35 |
print(transcribed_text)
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
st.write("Transcription:")
|
43 |
-
st.write(transcription)
|
44 |
|
45 |
|
46 |
# Detect the language
|
|
|
33 |
result = model.transcribe(audio_stream)
|
34 |
transcribed_text = result["text"]
|
35 |
print(transcribed_text)
|
36 |
+
st.write("Transcription:")
|
37 |
+
st.write(transcribed_text)
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
|
40 |
# Detect the language
|