Spaces:
Runtime error
Runtime error
Hong
commited on
Commit
ยท
51cf9a9
1
Parent(s):
3cba90e
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import pickle
|
|
| 7 |
import torch
|
| 8 |
from BART_utils import get_taggs
|
| 9 |
|
| 10 |
-
st.title("
|
| 11 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
| 12 |
if device == "cpu":
|
| 13 |
processor = "๐ฅ๏ธ"
|
|
@@ -18,7 +18,7 @@ st.subheader("Running on {}".format(device + processor))
|
|
| 18 |
|
| 19 |
|
| 20 |
user_input = st.text_area(
|
| 21 |
-
"
|
| 22 |
)
|
| 23 |
|
| 24 |
thred = st.slider(
|
|
|
|
| 7 |
import torch
|
| 8 |
from BART_utils import get_taggs
|
| 9 |
|
| 10 |
+
st.title("๋ฌธ์ฅ์ ์
๋ ฅํ๋ฉด ์ฃผ์ / ์ฉ๋ ํ๊ทธ๋ฅผ ์์ฑํฉ๋๋ค (EN์ง์)")
|
| 11 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
| 12 |
if device == "cpu":
|
| 13 |
processor = "๐ฅ๏ธ"
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
user_input = st.text_area(
|
| 21 |
+
"๐ํ๊ทธ๋ฅผ ์์ฑํ ๋ฌธ์ฅ์ ์
๋ ฅํ์ธ์ - ๊ฐ๋ฅํ๋ฉด ์๋ฌธ์ผ๋ก ์
๋ ฅํ์ธ์", "This app uses Facebook Zero-shot NLI model. It uses a pre-trained NLI models as a ready-made zero-shot sequence classifiers"
|
| 22 |
)
|
| 23 |
|
| 24 |
thred = st.slider(
|