ppsingh commited on
Commit
cb359de
·
1 Parent(s): 5a1352d

cuda error

Browse files
app.py CHANGED
@@ -3,7 +3,7 @@ import pandas as pd
3
  from appStore.prep_data import process_giz_worldwide
4
  from appStore.prep_utils import create_documents, get_client
5
  from appStore.embed import hybrid_embed_chunks
6
-
7
  # get the device to be used eithe gpu or cpu
8
  device = 'cuda' if cuda.is_available() else 'cpu'
9
 
 
3
  from appStore.prep_data import process_giz_worldwide
4
  from appStore.prep_utils import create_documents, get_client
5
  from appStore.embed import hybrid_embed_chunks
6
+ from torch import cuda
7
  # get the device to be used eithe gpu or cpu
8
  device = 'cuda' if cuda.is_available() else 'cpu'
9
 
appStore/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (128 Bytes). View file
 
appStore/__pycache__/embed.cpython-310.pyc ADDED
Binary file (2.1 kB). View file
 
appStore/__pycache__/prep_data.cpython-310.pyc ADDED
Binary file (2.39 kB). View file
 
appStore/__pycache__/prep_utils.cpython-310.pyc ADDED
Binary file (1.47 kB). View file