Demosthene-OR commited on
Commit
fbf82bf
1 Parent(s): aeb9a86

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
@@ -89,7 +89,7 @@ def display_translation(n1, Lang,model_type):
89
  st.write("<p style='text-align:center;background-color:red; color:white')>Score Bleu = "+str(int(round(corpus_bleu(s_trad,[s_trad_ref]).score,0)))+"%</p>", \
90
  unsafe_allow_html=True)
91
  '''
92
- async def fetch_translation(url):
93
  return requests.get(url)
94
 
95
  def display_translation(n1, Lang, model_type):
 
89
  st.write("<p style='text-align:center;background-color:red; color:white')>Score Bleu = "+str(int(round(corpus_bleu(s_trad,[s_trad_ref]).score,0)))+"%</p>", \
90
  unsafe_allow_html=True)
91
  '''
92
+ def fetch_translation(url):
93
  return requests.get(url)
94
 
95
  def display_translation(n1, Lang, model_type):