alexkueck commited on
Commit
092ed9e
·
verified ·
1 Parent(s): 5afc810

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,10 +1,10 @@
1
  import os
2
  import gradio as gr
3
- from langchain_community.vectorstores import Chroma
4
- from transformers import RagTokenizer, RagSequenceForGeneration, RagRetriever
5
  from sentence_transformers import SentenceTransformer
6
  from langchain import LLMChain, PromptTemplate
7
- from langchain_community.llms import HuggingFacePipeline
8
 
9
  #Konstanten
10
  ANTI_BOT_PW = os.getenv("CORRECT_VALIDATE")
 
1
  import os
2
  import gradio as gr
3
+ from langchain.vectorstores import Chroma
4
+ from transformers import pipeline
5
  from sentence_transformers import SentenceTransformer
6
  from langchain import LLMChain, PromptTemplate
7
+ from langchain.llms import HuggingFacePipeline
8
 
9
  #Konstanten
10
  ANTI_BOT_PW = os.getenv("CORRECT_VALIDATE")