Hunzla commited on
Commit
95672ad
1 Parent(s): 71c587d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  # main.py
2
  import gradio as gr
3
  from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
4
-
5
  # Load model and tokenizer
6
  model_name = "meta-llama/Llama-2-7b-chat-hf"
7
  print("started loading model")
 
1
  # main.py
2
  import gradio as gr
3
  from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
4
+ import torch
5
  # Load model and tokenizer
6
  model_name = "meta-llama/Llama-2-7b-chat-hf"
7
  print("started loading model")