adr2432 commited on
Commit
2ac55b7
1 Parent(s): b170fd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import AutoModelForCausalLM
3
 
4
  # Load the Llama-2-7b-chat model
5
- model = AutoModelForCausalLM.from_pretrained("google/lama-2-7b-chat")
6
 
7
  # Define a function to generate text using the model
8
  def generate_text(prompt):
 
2
  from transformers import AutoModelForCausalLM
3
 
4
  # Load the Llama-2-7b-chat model
5
+ model = AutoModelForCausalLM.from_pretrained("google/llama-2-7b-chat")
6
 
7
  # Define a function to generate text using the model
8
  def generate_text(prompt):