Stevross commited on
Commit
25041c0
·
1 Parent(s): fb6312f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import streamlit as st
 
2
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextGenerationPipeline
3
 
4
  # Load the model and tokenizer in full precision and ensure it's on CPU
 
1
  import streamlit as st
2
+ import torch # <-- Add this import
3
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextGenerationPipeline
4
 
5
  # Load the model and tokenizer in full precision and ensure it's on CPU