Commit
•
72bd33f
1
Parent(s):
63bce98
Update modelisation_seq2seq_tab.py
Browse files
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 |
-
|
93 |
-
return
|
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):
|