Spaces:
Runtime error
Runtime error
Modfiededition
commited on
Commit
•
8ad5809
1
Parent(s):
4fe7675
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ option = st.selectbox(
|
|
32 |
('positive', 'negative', 'neutral'))
|
33 |
|
34 |
|
35 |
-
python_dict = {"text":textbox, "sentiment":option}
|
36 |
|
37 |
dataset = Dataset.from_dict(python_dict)
|
38 |
|
|
|
32 |
('positive', 'negative', 'neutral'))
|
33 |
|
34 |
|
35 |
+
python_dict = {"text":[textbox], "sentiment":[option]}
|
36 |
|
37 |
dataset = Dataset.from_dict(python_dict)
|
38 |
|