Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
# Must be the first Streamlit command
|
3 |
-
st.set_page_config(page_title="Advanced File Downloader", layout="wide")
|
4 |
-
|
5 |
import os
|
6 |
import subprocess
|
7 |
import sys
|
@@ -39,6 +35,9 @@ def install_playwright_dependencies():
|
|
39 |
st.code("apt-get update")
|
40 |
st.code(f"apt-get install -y {' '.join(dependencies)}")
|
41 |
st.code("playwright install")
|
|
|
|
|
|
|
42 |
|
43 |
# Import other required packages
|
44 |
import spacy
|
|
|
|
|
|
|
|
|
|
|
1 |
import os
|
2 |
import subprocess
|
3 |
import sys
|
|
|
35 |
st.code("apt-get update")
|
36 |
st.code(f"apt-get install -y {' '.join(dependencies)}")
|
37 |
st.code("playwright install")
|
38 |
+
import streamlit as st
|
39 |
+
# Must be the first Streamlit command
|
40 |
+
st.set_page_config(page_title="Advanced File Downloader", layout="wide")
|
41 |
|
42 |
# Import other required packages
|
43 |
import spacy
|