thelip commited on
Commit
fe52cbc
·
verified ·
1 Parent(s): d91393a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
  import torch
4
-
5
  # Load the LLaMA-2 model and tokenizer from Hugging Face
6
  model_name = "meta-llama/Llama-2-7b-hf" # Change to the desired LLaMA model
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
 
1
  import gradio as gr
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
  import torch
4
+
5
  # Load the LLaMA-2 model and tokenizer from Hugging Face
6
  model_name = "meta-llama/Llama-2-7b-hf" # Change to the desired LLaMA model
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)