freQuensy23 commited on
Commit
2edad32
1 Parent(s): 8b84f62

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
  import transformers
3
  import peft
4
 
5
- model = 'freQuensy23/toxic-llama2'
6
  model = peft.AutoPeftModelForCausalLM.from_pretrained(model_id)
7
  tokenizer = transformers.AutoTokenizer.from_pretrained(model_id)
8
 
 
2
  import transformers
3
  import peft
4
 
5
+ model_id = 'freQuensy23/toxic-llama2'
6
  model = peft.AutoPeftModelForCausalLM.from_pretrained(model_id)
7
  tokenizer = transformers.AutoTokenizer.from_pretrained(model_id)
8