bryanmildort commited on
Commit
944aa34
·
1 Parent(s): c5d3b2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def summarize_function(notes):
12
  st.markdown("<h1 style='text-align: center; color: #489DDB;'>GPT Clinical Notes Summarizer</h1>", unsafe_allow_html=True)
13
  st.markdown("<h6 style='text-align: center; color: #489DDB;'>by Bryan Mildort</h1>", unsafe_allow_html=True)
14
 
15
- from transformers import AutoTokenizer, AutoModelForCausalLM
16
  # from accelerate import infer_auto_device_map
17
  import torch
18
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
 
12
  st.markdown("<h1 style='text-align: center; color: #489DDB;'>GPT Clinical Notes Summarizer</h1>", unsafe_allow_html=True)
13
  st.markdown("<h6 style='text-align: center; color: #489DDB;'>by Bryan Mildort</h1>", unsafe_allow_html=True)
14
 
15
+ from transformers import AutoTokenizer, GPTJForCausalLM
16
  # from accelerate import infer_auto_device_map
17
  import torch
18
  device = "cuda:0" if torch.cuda.is_available() else "cpu"