adhisetiawan commited on
Commit
bd2b1d8
β€’
1 Parent(s): 6c19b81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  # Install Gradio for creating an interface
2
  import gradio as gr
3
  import torch
4
- from transformers import AutoPeftModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
 
5
  from threading import Thread
6
 
7
  # Load the fine-tuned model and tokenizer
 
1
  # Install Gradio for creating an interface
2
  import gradio as gr
3
  import torch
4
+ from transformers import AutoTokenizer, StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
5
+ from peft import AutoPeftModelForCausalLM
6
  from threading import Thread
7
 
8
  # Load the fine-tuned model and tokenizer