Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import numpy as np
|
|
4 |
import threading
|
5 |
import torch
|
6 |
import numpy as np
|
7 |
-
from styling import footer
|
8 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
9 |
from huggingface_hub import HfApi, hf_hub_download
|
10 |
from torch.utils.data import Dataset, DataLoader
|
@@ -236,9 +236,8 @@ with st.sidebar:
|
|
236 |
)
|
237 |
url = "https://drive.google.com/file/d/1eWat34ot3j8onIeKDnJscKalp2oYnn8O/view"
|
238 |
st.write("check out the paper [here](%s)" % url)
|
239 |
-
footer()
|
240 |
with st.columns(1)[0]:
|
241 |
-
|
242 |
|
243 |
sentence = st.text_input("Please input a sample sentence in the target language")
|
244 |
|
@@ -276,3 +275,4 @@ with st.columns(1)[0]:
|
|
276 |
scores = sort_dictionary(scores)
|
277 |
st.write("Our recommendation is:", scores)
|
278 |
|
|
|
|
4 |
import threading
|
5 |
import torch
|
6 |
import numpy as np
|
7 |
+
#from styling import footer
|
8 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
9 |
from huggingface_hub import HfApi, hf_hub_download
|
10 |
from torch.utils.data import Dataset, DataLoader
|
|
|
236 |
)
|
237 |
url = "https://drive.google.com/file/d/1eWat34ot3j8onIeKDnJscKalp2oYnn8O/view"
|
238 |
st.write("check out the paper [here](%s)" % url)
|
|
|
239 |
with st.columns(1)[0]:
|
240 |
+
#footer()
|
241 |
|
242 |
sentence = st.text_input("Please input a sample sentence in the target language")
|
243 |
|
|
|
275 |
scores = sort_dictionary(scores)
|
276 |
st.write("Our recommendation is:", scores)
|
277 |
|
278 |
+
|