NimaKL commited on
Commit
0bc4f74
Β·
1 Parent(s): 799ec3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -36,7 +36,8 @@ if st.button('Load Model', disabled=False):
36
  return_tensors = 'pt'
37
  )
38
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
39
- st.success("Model Loaded!")
 
40
  def predict(new_sentence):
41
  # We need Token IDs and Attention Mask for inference on the new sentence
42
  test_ids = []
 
36
  return_tensors = 'pt'
37
  )
38
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
39
+ with col1:
40
+ st.success("Model Loaded!")
41
  def predict(new_sentence):
42
  # We need Token IDs and Attention Mask for inference on the new sentence
43
  test_ids = []