rtabrizi commited on
Commit
4d89474
·
1 Parent(s): 0d50066

flushing streamlit error

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -14,6 +14,9 @@ from langchain import text_splitter
14
  from langchain.text_splitter import RecursiveCharacterTextSplitter
15
  from langchain.document_loaders import PyPDFLoader
16
 
 
 
 
17
  device = torch.device("cpu")
18
  if torch.cuda.is_available():
19
  print("Training on GPU")
 
14
  from langchain.text_splitter import RecursiveCharacterTextSplitter
15
  from langchain.document_loaders import PyPDFLoader
16
 
17
+ from st import runtime
18
+ runtime.exists()
19
+
20
  device = torch.device("cpu")
21
  if torch.cuda.is_available():
22
  print("Training on GPU")