canahmet-29
commited on
Commit
•
6939ba6
1
Parent(s):
632359b
Update app.py
Browse files
app.py
CHANGED
@@ -17,12 +17,12 @@ st.title("NLP Toolkit")
|
|
17 |
|
18 |
|
19 |
# Model seçim
|
20 |
-
|
21 |
'Metin Sınıflandırma': 'dbmdz/bert-base-turkish-cased',
|
22 |
'Metin Analizi': 'savasy/bert-base-turkish-ner-cased',
|
23 |
'Duygu Analizi': 'akdeniz27/xlm-roberta-base-turkish-ner',
|
24 |
'Metin Oluşturma': 'dbmdz/bert-base-turkish-cased'
|
25 |
-
|
26 |
|
27 |
st.sidebar.header("Select NER Model")
|
28 |
model_checkpoint = st.sidebar.radio("", model_list)
|
|
|
17 |
|
18 |
|
19 |
# Model seçim
|
20 |
+
model_list = [
|
21 |
'Metin Sınıflandırma': 'dbmdz/bert-base-turkish-cased',
|
22 |
'Metin Analizi': 'savasy/bert-base-turkish-ner-cased',
|
23 |
'Duygu Analizi': 'akdeniz27/xlm-roberta-base-turkish-ner',
|
24 |
'Metin Oluşturma': 'dbmdz/bert-base-turkish-cased'
|
25 |
+
]
|
26 |
|
27 |
st.sidebar.header("Select NER Model")
|
28 |
model_checkpoint = st.sidebar.radio("", model_list)
|