BoburAmirov commited on
Commit
bee8083
1 Parent(s): e0202e2

model load class updated

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import torch
2
- from transformers import AutoModelForCausalLM, AutoTokenizer, AutoPeftModelForCausalLM
 
3
  import gradio as gr
4
 
5
  # Load the fine-tuned model and tokenizer
 
1
  import torch
2
+ from transformers import AutoModelForCausalLM, AutoTokenizer
3
+ from peft import AutoPeftModelForCausalLM
4
  import gradio as gr
5
 
6
  # Load the fine-tuned model and tokenizer