hitz02 commited on
Commit
124530a
1 Parent(s): b224783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def main():
77
 
78
  device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
79
 
80
- st.info('Using device type: {}'.format(device))
81
 
82
  embeddings = load_prep_data()
83
 
@@ -92,6 +92,8 @@ def main():
92
 
93
  query = st.text_input("Enter Query",'What are the corona viruses?', key="query")
94
 
 
 
95
  with st.spinner('Please wait...'):
96
  dt1 = datetime.datetime.now()
97
 
 
77
 
78
  device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
79
 
80
+
81
 
82
  embeddings = load_prep_data()
83
 
 
92
 
93
  query = st.text_input("Enter Query",'What are the corona viruses?', key="query")
94
 
95
+ st.write('Using device type: {}'.format(device))
96
+
97
  with st.spinner('Please wait...'):
98
  dt1 = datetime.datetime.now()
99