Spaces:
Sleeping
Sleeping
LucasAguetai
commited on
Commit
•
e09ff79
1
Parent(s):
3604ae7
text first
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ context = None
|
|
10 |
with st.sidebar:
|
11 |
model = st.selectbox('which model would you like to use',
|
12 |
('MobileBERT', 'BERT', 'DeBERTa-v2'))
|
13 |
-
contextSelect = st.radio("Pick a context mode:", ["
|
14 |
if contextSelect == "File":
|
15 |
userContext = st.file_uploader("Pick a file for the context", accept_multiple_files=True)
|
16 |
context = "/uploadfile/"
|
|
|
10 |
with st.sidebar:
|
11 |
model = st.selectbox('which model would you like to use',
|
12 |
('MobileBERT', 'BERT', 'DeBERTa-v2'))
|
13 |
+
contextSelect = st.radio("Pick a context mode:", ["Text", "File"])
|
14 |
if contextSelect == "File":
|
15 |
userContext = st.file_uploader("Pick a file for the context", accept_multiple_files=True)
|
16 |
context = "/uploadfile/"
|