IProject-10 commited on
Commit
ccb5f9c
·
verified ·
1 Parent(s): 7b1f23f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -17,7 +17,7 @@ QDRANT_API_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3MiOiJtIn0.9Pj8v
17
  QDRANT_URL = "https://d36718f0-be68-4040-b276-f1f39bc1aeb9.us-east4-0.gcp.cloud.qdrant.io"
18
 
19
  qdrant_client = QdrantClient(url=QDRANT_URL, api_key=QDRANT_API_KEY)
20
- AVAILABLE_COLLECTIONS = ["demo-chatbot", "tezjet-site", "anish-pharma"]
21
  index_cache = {}
22
  active_state = {"collection": None, "query_engine": None}
23
 
@@ -372,11 +372,11 @@ def chat_interface_sync(message, history):
372
  # === Gradio UI ===
373
  def launch_gradio():
374
  with gr.Blocks() as demo:
375
- gr.Markdown("# 💬 Multi-Website RAG Chatbot")
376
- gr.Markdown("Choose a website collection to start chatting.")
377
 
378
  with gr.Row():
379
- collection_dropdown = gr.Dropdown(choices=AVAILABLE_COLLECTIONS, label="Select Website Collection")
380
  load_button = gr.Button("Load Website")
381
  collection_status = gr.Markdown("")
382
 
 
17
  QDRANT_URL = "https://d36718f0-be68-4040-b276-f1f39bc1aeb9.us-east4-0.gcp.cloud.qdrant.io"
18
 
19
  qdrant_client = QdrantClient(url=QDRANT_URL, api_key=QDRANT_API_KEY)
20
+ AVAILABLE_COLLECTIONS = ["ImageOnline", "tezjet-site", "anish-pharma"]
21
  index_cache = {}
22
  active_state = {"collection": None, "query_engine": None}
23
 
 
372
  # === Gradio UI ===
373
  def launch_gradio():
374
  with gr.Blocks() as demo:
375
+ gr.Markdown("# 💬 Demo IOPL Multi-Website Chatbot")
376
+ gr.Markdown("Choose a website you want to chat with.")
377
 
378
  with gr.Row():
379
+ collection_dropdown = gr.Dropdown(choices=AVAILABLE_COLLECTIONS, label="Select Website to chat")
380
  load_button = gr.Button("Load Website")
381
  collection_status = gr.Markdown("")
382