Jimin Park commited on
Commit
cd24c9d
·
1 Parent(s): cfb359e

updated req.txt and app.py

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -0
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: green
6
  sdk: gradio
7
  sdk_version: 4.19.2
8
  python_version: 3.8
9
- app_file: app_old.py
10
  pinned: false
11
  ---
12
 
 
6
  sdk: gradio
7
  sdk_version: 4.19.2
8
  python_version: 3.8
9
+ app_file: app.py
10
  pinned: false
11
  ---
12
 
app.py CHANGED
@@ -2,6 +2,7 @@ from transformers import pipeline
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
  from peft import PeftModel, PeftConfig
4
  import gradio as gr
 
5
 
6
 
7
  base_model = "unsloth/Llama-3.2-3B-Instruct" # Replace with the correct base model
 
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
  from peft import PeftModel, PeftConfig
4
  import gradio as gr
5
+ import torch
6
 
7
 
8
  base_model = "unsloth/Llama-3.2-3B-Instruct" # Replace with the correct base model