Fix
Browse files- app.py +0 -2
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
pip install -U transformers accelerate peft huggingface_hub
|
2 |
-
|
3 |
import gradio as gr
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
5 |
import torch
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
3 |
import torch
|
requirements.txt
CHANGED
@@ -10,4 +10,5 @@ openai
|
|
10 |
langchain
|
11 |
python-dotenv
|
12 |
langchain-community
|
13 |
-
huggingface_hub
|
|
|
|
10 |
langchain
|
11 |
python-dotenv
|
12 |
langchain-community
|
13 |
+
huggingface_hub
|
14 |
+
peft
|