Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,10 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
17 |
|
18 |
test = [user_input]
|
19 |
|
|
|
|
|
|
|
|
|
20 |
if submit:
|
21 |
batch = tokenizer(test, padding = True, truncation = True, max_length = 512, return_tensors = "pt")
|
22 |
|
|
|
17 |
|
18 |
test = [user_input]
|
19 |
|
20 |
+
option = st.selectbox(
|
21 |
+
'How would you like to be contacted?',
|
22 |
+
('Email', 'Home phone', 'Mobile phone'))
|
23 |
+
|
24 |
if submit:
|
25 |
batch = tokenizer(test, padding = True, truncation = True, max_length = 512, return_tensors = "pt")
|
26 |
|