Demosthene-OR commited on
Commit
72bd33f
1 Parent(s): 63bce98

Update modelisation_seq2seq_tab.py

Browse files
Files changed (1) hide show
  1. tabs/modelisation_seq2seq_tab.py +2 -2
tabs/modelisation_seq2seq_tab.py CHANGED
@@ -89,8 +89,8 @@ 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(param):
93
- return await requests.get(param)
94
 
95
 
96
  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(param):
93
+ return requests.get(param)
94
 
95
 
96
  def display_translation(n1, Lang,model_type):