Demosthene-OR commited on
Commit
a2f73c0
1 Parent(s): 2ec2d30

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
@@ -441,7 +441,7 @@ def run():
441
  params = {"lang_tgt": Lang[-2:], "model_type": "transformer"}
442
  # Envoie d'une requête GET avec les paramètres de requête
443
  response = requests.get(url, params=params)
444
- st.image(response.json(),use_column_width=True)
445
  st.write("</center>", unsafe_allow_html=True)
446
 
447
 
 
441
  params = {"lang_tgt": Lang[-2:], "model_type": "transformer"}
442
  # Envoie d'une requête GET avec les paramètres de requête
443
  response = requests.get(url, params=params)
444
+ st.image("https://demosthene-or-api-avr23-cds-translation.hf.space/small_vocab/plot_model?lang_tgt="+Lang[-2:]+"&model_type=rnn",use_column_width=True)
445
  st.write("</center>", unsafe_allow_html=True)
446
 
447