Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import pickle
|
|
4 |
import streamlit as st
|
5 |
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
6 |
|
7 |
-
from
|
8 |
|
9 |
def init_session_state():
|
10 |
if 'history' not in st.session_state:
|
|
|
4 |
import streamlit as st
|
5 |
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
6 |
|
7 |
+
from translate import Translator
|
8 |
|
9 |
def init_session_state():
|
10 |
if 'history' not in st.session_state:
|