Update app.py (#3)
Browse files- Update app.py (fe6f7e8fc411e44a213feeb84220af46bd0116ae)
Co-authored-by: Kenan İLGÜN <[email protected]>
app.py
CHANGED
@@ -60,7 +60,7 @@ elif text == "New Text":
|
|
60 |
if labels == "Label List #1": selected_labels = label_list_1
|
61 |
elif labels == "Label List #2": selected_labels = label_list_2
|
62 |
elif labels == "New Label List":
|
63 |
-
selected_labels = st.text_area("New Label List (Pls Input as comma-separated)", value="", height=
|
64 |
|
65 |
@st.cache_resource
|
66 |
def setModel(model_checkpoint):
|
|
|
60 |
if labels == "Label List #1": selected_labels = label_list_1
|
61 |
elif labels == "Label List #2": selected_labels = label_list_2
|
62 |
elif labels == "New Label List":
|
63 |
+
selected_labels = st.text_area("New Label List (Pls Input as comma-separated)", value="", height=68).split(",")
|
64 |
|
65 |
@st.cache_resource
|
66 |
def setModel(model_checkpoint):
|