NV9523 commited on
Commit
c2f8842
·
verified ·
1 Parent(s): a048055

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import subprocess
2
  import sys
3
 
4
  # Cài đặt các thư viện nếu chưa có
5
- subprocess.check_call([sys.executable, "-m", "pip", "install", "transformers", "streamlit", "torch", "bitsandbytes"])
6
 
7
  import streamlit as st
8
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
 
2
  import sys
3
 
4
  # Cài đặt các thư viện nếu chưa có
5
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "transformers", "streamlit", "torch", "bitsandbytes","peft"])
6
 
7
  import streamlit as st
8
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer