kuroiikimono commited on
Commit
ab0f688
1 Parent(s): fbcbf55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -246,17 +246,17 @@ This translation app is useful for people who want to translate something or wan
246
  "Nepall"
247
  ]
248
  sel = st.empty()
249
- #language = sel.radio(
250
- # label='translate to',
251
- # options=lang_code,
252
- # index=0,
253
- # key = f"select_lang{st.session_state.count}")
254
- language = sel.selectbox(
255
- 'translate to',
256
- lang_code,
257
- index=0,
258
- #placeholder = "select language",
259
- key=f"select_lang{st.session_state.count}")
260
 
261
  statename = f"select_lang{st.session_state.count}"
262
  if "target_lang" not in st.session_state:
 
246
  "Nepall"
247
  ]
248
  sel = st.empty()
249
+ language = sel.radio(
250
+ label='translate to',
251
+ options=lang_code,
252
+ index=0,
253
+ key = f"select_lang{st.session_state.count}")
254
+ #language = sel.selectbox(
255
+ # 'translate to',
256
+ # lang_code,
257
+ # index=0,
258
+ # #placeholder = "select language",
259
+ # key=f"select_lang{st.session_state.count}")
260
 
261
  statename = f"select_lang{st.session_state.count}"
262
  if "target_lang" not in st.session_state: