Spaces:
Running
Running
alexneakameni
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
|
|
1 |
from typing import Dict, List
|
2 |
|
3 |
import gradio as gr
|
4 |
from src.rag_pipeline.rag_system import RAGSystem
|
5 |
-
|
6 |
|
7 |
class ChatInterface:
|
8 |
def __init__(self, rag_system: RAGSystem):
|
|
|
1 |
+
import os
|
2 |
from typing import Dict, List
|
3 |
|
4 |
import gradio as gr
|
5 |
from src.rag_pipeline.rag_system import RAGSystem
|
6 |
+
os.environ["TOKENIZERS_PARALLELISM"]="true"
|
7 |
|
8 |
class ChatInterface:
|
9 |
def __init__(self, rag_system: RAGSystem):
|