Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def getText(filename):
|
|
| 31 |
# model.to(device)
|
| 32 |
|
| 33 |
@st.cache
|
| 34 |
-
st.empty()
|
| 35 |
def btTranslator(docxfile):
|
| 36 |
if torch.cuda.is_available():
|
| 37 |
dev = "cuda"
|
|
|
|
| 31 |
# model.to(device)
|
| 32 |
|
| 33 |
@st.cache
|
| 34 |
+
#st.empty()
|
| 35 |
def btTranslator(docxfile):
|
| 36 |
if torch.cuda.is_available():
|
| 37 |
dev = "cuda"
|