Spaces:
Running
Running
raghav-gaggar
commited on
Commit
•
3d5c4cc
1
Parent(s):
f08f06a
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import os
|
|
|
|
|
2 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
|
3 |
from datasets import concatenate_datasets, load_dataset
|
4 |
import gc
|
5 |
-
os.system("pip install gradio== 4.44.1")
|
6 |
-
import gradio as gr
|
7 |
from peft import PeftModel, PeftConfig
|
8 |
from langchain.chains import RetrievalQA
|
9 |
from langchain_community.vectorstores import FAISS
|
|
|
1 |
import os
|
2 |
+
os.system("pip install gradio==4.44.1")
|
3 |
+
import gradio as gr
|
4 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
|
5 |
from datasets import concatenate_datasets, load_dataset
|
6 |
import gc
|
|
|
|
|
7 |
from peft import PeftModel, PeftConfig
|
8 |
from langchain.chains import RetrievalQA
|
9 |
from langchain_community.vectorstores import FAISS
|