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

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/llama-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("llama-2-7b-chat")
6
 
7
  # Define a function to generate text using the model
8
  def generate_text(prompt):