Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,9 +32,9 @@ def save_temp_file(content, filename="output.srt"):
|
|
| 32 |
|
| 33 |
# Streamlit app
|
| 34 |
st.title("Text to SRT Converter")
|
| 35 |
-
st.markdown("For API use, please visit [this space](https://huggingface.co/spaces/Lenylvt/
|
| 36 |
|
| 37 |
-
text = st.text_area("π―οΈ Enter text from [Whisper
|
| 38 |
if st.button("π Convert to SRT"):
|
| 39 |
if text:
|
| 40 |
srt_path = text_to_srt(text)
|
|
|
|
| 32 |
|
| 33 |
# Streamlit app
|
| 34 |
st.title("Text to SRT Converter")
|
| 35 |
+
st.markdown("For API use, please visit [this space](https://huggingface.co/spaces/Lenylvt/Whisper).")
|
| 36 |
|
| 37 |
+
text = st.text_area("π―οΈ Enter text from [Whisper](https://huggingface.co/spaces/sanchit-gandhi/whisper-jax)", height=300)
|
| 38 |
if st.button("π Convert to SRT"):
|
| 39 |
if text:
|
| 40 |
srt_path = text_to_srt(text)
|