diff --git a/gemma-faiss.py b/gemma-faiss.py index 0c38cc4..3c0b68f 100644 --- a/gemma-faiss.py +++ b/gemma-faiss.py @@ -1,3 +1,6 @@ +import os +os.environ["TOKENIZERS_PARALLELISM"] = "false" + import numpy as np import faiss import gradio as gr @@ -59,4 +62,4 @@ def generate_response(query): # 8️⃣ Interfejs Gradio (Open-WebUI) iface = gr.Interface(fn=generate_response, inputs="text", outputs="text") -iface.launch(share=True) # Uruchom interfejs \ No newline at end of file +iface.launch() # Uruchom interfejs \ No newline at end of file