Spaces:
Build error
Build error
Thomas Dehaene
commited on
Commit
·
23ed543
1
Parent(s):
a96791d
Update streamlit
Browse files
app.py
CHANGED
@@ -1,14 +1,10 @@
|
|
1 |
from textwrap import wrap
|
2 |
|
3 |
-
import streamlit as st
|
4 |
from transformers import pipeline
|
5 |
import nlpaug.augmenter.char as nac
|
6 |
import subprocess
|
7 |
import sys
|
8 |
|
9 |
-
@st.cache(allow_output_mutation=True,
|
10 |
-
suppress_st_warning=True,
|
11 |
-
show_spinner=False)
|
12 |
def install():
|
13 |
subprocess.check_call([sys.executable, "-m", "pip", "install", "streamlit==0.89.0"])
|
14 |
import streamlit as st
|
|
|
1 |
from textwrap import wrap
|
2 |
|
|
|
3 |
from transformers import pipeline
|
4 |
import nlpaug.augmenter.char as nac
|
5 |
import subprocess
|
6 |
import sys
|
7 |
|
|
|
|
|
|
|
8 |
def install():
|
9 |
subprocess.check_call([sys.executable, "-m", "pip", "install", "streamlit==0.89.0"])
|
10 |
import streamlit as st
|