Spaces:
Runtime error
Runtime error
Commit
·
593d5c4
1
Parent(s):
236118d
error fix
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import logging
|
2 |
import streamlit as st
|
3 |
-
import pke
|
4 |
import nltk
|
5 |
nltk.download('stopwords')
|
6 |
nltk.download('wordnet')
|
@@ -16,6 +15,7 @@ import multiprocessing
|
|
16 |
total_threads=multiprocessing.cpu_count()
|
17 |
|
18 |
subprocess.run(['pip3', 'install','git+https://github.com/boudinfl/pke.git'])
|
|
|
19 |
|
20 |
st.set_page_config( # Alternate names: setup_page, page, layout
|
21 |
layout="wide", # Can be "centered" or "wide". In the future also "dashboard", etc.
|
|
|
1 |
import logging
|
2 |
import streamlit as st
|
|
|
3 |
import nltk
|
4 |
nltk.download('stopwords')
|
5 |
nltk.download('wordnet')
|
|
|
15 |
total_threads=multiprocessing.cpu_count()
|
16 |
|
17 |
subprocess.run(['pip3', 'install','git+https://github.com/boudinfl/pke.git'])
|
18 |
+
import pke
|
19 |
|
20 |
st.set_page_config( # Alternate names: setup_page, page, layout
|
21 |
layout="wide", # Can be "centered" or "wide". In the future also "dashboard", etc.
|