summaryrefslogtreecommitdiff
path: root/rag
diff options
context:
space:
mode:
Diffstat (limited to 'rag')
-rw-r--r--rag/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rag/ui.py b/rag/ui.py
index 5083bb4..37ab664 100644
--- a/rag/ui.py
+++ b/rag/ui.py
@@ -3,7 +3,7 @@ import streamlit as st
from langchain_community.document_loaders.blob_loaders import Blob
from dotenv import load_dotenv
-from generator import get_generator, MODELS
+from rag.generator import get_generator, MODELS
from generator.prompt import Prompt
from retriever.retriever import Retriever
@@ -65,4 +65,4 @@ if __name__ == "__main__":
with result_column:
generator = get_generator(model)
st.markdown("### Answer")
- st.write_stream(generator.generate(generator, prompt))
+ st.write_stream(generator.generate(prompt))