samvb1002 commited on
Commit
08cfacb
·
verified ·
1 Parent(s): f757b24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -6,12 +6,6 @@ import pytesseract
6
  chat_model = pipeline("text-generation", model="gpt2") # You can switch to any model of your choice
7
 
8
 
9
- gr.load("models/meta-llama/Llama-3.3-70B-Instruct").launch()
10
-
11
- # Initialize LLaMA model for more advanced instruction-following tasks
12
- tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.3-70B-Instruct")
13
- model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.3-70B-Instruct")
14
-
15
  # Chat function
16
  def chat_fn(history, user_input):
17
  conversation = {"history": history, "user": user_input}
 
6
  chat_model = pipeline("text-generation", model="gpt2") # You can switch to any model of your choice
7
 
8
 
 
 
 
 
 
 
9
  # Chat function
10
  def chat_fn(history, user_input):
11
  conversation = {"history": history, "user": user_input}