awacke1 commited on
Commit
59d1be3
Β·
verified Β·
1 Parent(s): 84b7583

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -23,6 +23,7 @@ import streamlit.components.v1 as components
23
  # 1) GLOBAL CONFIG & PLACEHOLDERS
24
  ########################################################################################
25
  BASE_URL = "https://huggingface.co/spaces/awacke1/MermaidMarkdownDiagramEditor"
 
26
 
27
  PromptPrefix = "AI-Search: "
28
  PromptPrefix2 = "AI-Refine: "
@@ -429,17 +430,17 @@ def inject_base_url(url: str) -> str:
429
  DEFAULT_MERMAID = r"""
430
  flowchart LR
431
  U((User 😎)) -- "Talk πŸ—£οΈ" --> LLM[LLM Agent πŸ€–\nExtract Info]
432
- click U "/?q=U" _self
433
- click LLM "/?q=LLM%20Agent%20Extract%20Info" _blank
434
 
435
  LLM -- "Query πŸ”" --> HS[Hybrid Search πŸ”Ž\nVector+NER+Lexical]
436
- click HS "/?q=Hybrid%20Search%20Vector%20NER%20Lexical" _blank
437
 
438
  HS -- "Reason πŸ€”" --> RE[Reasoning Engine πŸ› οΈ\nNeuralNetwork+Medical]
439
- click RE "/?q=R" _blank
440
 
441
  RE -- "Link πŸ“‘" --> KG((Knowledge Graph πŸ“š\nOntology+GAR+RAG))
442
- click KG "/?q=K" _blank
443
  """
444
 
445
  ########################################################################################
 
23
  # 1) GLOBAL CONFIG & PLACEHOLDERS
24
  ########################################################################################
25
  BASE_URL = "https://huggingface.co/spaces/awacke1/MermaidMarkdownDiagramEditor"
26
+ BASE_URL = ""
27
 
28
  PromptPrefix = "AI-Search: "
29
  PromptPrefix2 = "AI-Refine: "
 
430
  DEFAULT_MERMAID = r"""
431
  flowchart LR
432
  U((User 😎)) -- "Talk πŸ—£οΈ" --> LLM[LLM Agent πŸ€–\nExtract Info]
433
+ click U "?q=U" _self
434
+ click LLM "?q=LLM%20Agent%20Extract%20Info" _blank
435
 
436
  LLM -- "Query πŸ”" --> HS[Hybrid Search πŸ”Ž\nVector+NER+Lexical]
437
+ click HS "?q=Hybrid%20Search%20Vector%20NER%20Lexical" _blank
438
 
439
  HS -- "Reason πŸ€”" --> RE[Reasoning Engine πŸ› οΈ\nNeuralNetwork+Medical]
440
+ click RE "?q=R" _blank
441
 
442
  RE -- "Link πŸ“‘" --> KG((Knowledge Graph πŸ“š\nOntology+GAR+RAG))
443
+ click KG "?q=K" _blank
444
  """
445
 
446
  ########################################################################################