Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ topics_raw = ['IT/과학', '경제', '문화', '미용/건강', '사회', '생
|
|
48 |
#topic_model, topic_tokenizer = get_topic()
|
49 |
#date_model, date_tokenizer = get_date()
|
50 |
|
51 |
-
name = st.
|
52 |
if name == 'Topic Classification':
|
53 |
title = 'News Topic Classification'
|
54 |
model, tokenizer = get_topic()
|
|
|
48 |
#topic_model, topic_tokenizer = get_topic()
|
49 |
#date_model, date_tokenizer = get_date()
|
50 |
|
51 |
+
name = st.sidebar.selectbox('Model', ['Topic Classification', 'Date Prediction'])
|
52 |
if name == 'Topic Classification':
|
53 |
title = 'News Topic Classification'
|
54 |
model, tokenizer = get_topic()
|