Demosthene-OR
commited on
Commit
•
3b6c2a3
1
Parent(s):
92e4a13
Update modelisation_seq2seq_tab.py
Browse files
tabs/modelisation_seq2seq_tab.py
CHANGED
@@ -308,11 +308,8 @@ def display_translation(n1, Lang,model_type):
|
|
308 |
'''
|
309 |
|
310 |
async def fetch_translation(url, params):
|
311 |
-
a = str(time.time())
|
312 |
-
st.write("debut fetch: "+a)
|
313 |
async with aiohttp.ClientSession() as session:
|
314 |
async with session.get(url, params=params) as response:
|
315 |
-
st.write("fin fetch "+a+" -> "+str(time.time()))
|
316 |
return await response.json()
|
317 |
|
318 |
async def display_translation(n1, Lang, model_type):
|
|
|
308 |
'''
|
309 |
|
310 |
async def fetch_translation(url, params):
|
|
|
|
|
311 |
async with aiohttp.ClientSession() as session:
|
312 |
async with session.get(url, params=params) as response:
|
|
|
313 |
return await response.json()
|
314 |
|
315 |
async def display_translation(n1, Lang, model_type):
|