ihsan66 commited on
Commit
0117be1
1 Parent(s): ba2a8c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -25,9 +25,11 @@ model_list = {
25
  'Ses Tanıma': 'facebook/wav2vec2-large-960h' # ASR model
26
  }
27
 
28
- st.sidebar.header("Select NER Model")
29
  model_checkpoint = st.sidebar.radio("", list(model_list.values()), format_func=lambda x: list(model_list.keys())[list(model_list.values()).index(x)])
30
 
 
 
31
  st.sidebar.write("For details of models: 'https://huggingface.co/WhiteAngelss/'")
32
  st.sidebar.write("")
33
 
 
25
  'Ses Tanıma': 'facebook/wav2vec2-large-960h' # ASR model
26
  }
27
 
28
+ st.sidebar.header("Select Model")
29
  model_checkpoint = st.sidebar.radio("", list(model_list.values()), format_func=lambda x: list(model_list.keys())[list(model_list.values()).index(x)])
30
 
31
+ task = list(model_list.keys())[list(model_list.values()).index(model_checkpoint)]
32
+
33
  st.sidebar.write("For details of models: 'https://huggingface.co/WhiteAngelss/'")
34
  st.sidebar.write("")
35