ishaan-mital commited on
Commit
381b280
1 Parent(s): 8e3e8e3

initial commit

Browse files
Files changed (2) hide show
  1. app.py +5 -5
  2. requirements.txt +5 -6
app.py CHANGED
@@ -1,12 +1,12 @@
1
  from gradio_client import Client
2
  import gradio as gr
3
  import requests
4
- from langchain.chains import RetrievalQA
5
- import pinecone
6
- from langchain.vectorstores import Pinecone
7
  import os
8
- from langchain.embeddings.huggingface import HuggingFaceEmbeddings
9
- import time
10
 
11
  API_URL = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta"
12
  headers = {"Authorization": f"Bearer {os.environ.get('API_KEY')}"}
 
1
  from gradio_client import Client
2
  import gradio as gr
3
  import requests
4
+ # from langchain.chains import RetrievalQA
5
+ # import pinecone
6
+ # from langchain.vectorstores import Pinecone
7
  import os
8
+ # from langchain.embeddings.huggingface import HuggingFaceEmbeddings
9
+ # import time
10
 
11
  API_URL = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta"
12
  headers = {"Authorization": f"Bearer {os.environ.get('API_KEY')}"}
requirements.txt CHANGED
@@ -1,10 +1,9 @@
1
- pydantic==1.10.9
2
  hugchat
3
  gradio
4
  gradio_client
5
  gtts
6
- pydantic==1.10.9
7
- langchain
8
- pinecone-client==2.2.2
9
- faiss-cpu
10
- sentence_transformers
 
 
1
  hugchat
2
  gradio
3
  gradio_client
4
  gtts
5
+ # pydantic==1.10.9
6
+ # langchain
7
+ # pinecone-client==2.2.2
8
+ # faiss-cpu
9
+ # sentence_transformers