Spaces:
Runtime error
Runtime error
first commit
Browse files
app.py
CHANGED
@@ -118,10 +118,4 @@ else:
|
|
118 |
st.markdown(transcript)
|
119 |
|
120 |
#Download Button
|
121 |
-
|
122 |
-
if download:
|
123 |
-
env=os.environ
|
124 |
-
user=env.get('USERPROFILE')
|
125 |
-
location=user+"\Desktop\Audio_Analysis\Youtube Transcription\Transcript.txt"
|
126 |
-
with open(location,'w') as file:
|
127 |
-
file.write(transcript)
|
|
|
118 |
st.markdown(transcript)
|
119 |
|
120 |
#Download Button
|
121 |
+
st.download_button('Download CSV', transcript, 'text/csv')
|
|
|
|
|
|
|
|
|
|
|
|