Demosthene-OR commited on
Commit
9b45df9
1 Parent(s): a2a7ac0

Update modelisation_seq2seq_tab.py

Browse files
Files changed (1) hide show
  1. tabs/modelisation_seq2seq_tab.py +1 -1
tabs/modelisation_seq2seq_tab.py CHANGED
@@ -112,7 +112,7 @@ def display_translation2(n1, Lang, model_type):
112
  url_base = "https://demosthene-or-api-avr23-cds-translation.hf.space/small_vocab/transformer"
113
  for i in range(n):
114
  # Construction de l'URL avec les paramètres
115
- url = f"{url_base}?lang_tgt={target}&texte={s[i]}"
116
  params.append(url)
117
  '''
118
  with Pool(n) as p:
 
112
  url_base = "https://demosthene-or-api-avr23-cds-translation.hf.space/small_vocab/transformer"
113
  for i in range(n):
114
  # Construction de l'URL avec les paramètres
115
+ url = f"{url_base}{i}?lang_tgt={target}&texte={s[i]}"
116
  params.append(url)
117
  '''
118
  with Pool(n) as p: