Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 "
|
433 |
-
click LLM "
|
434 |
|
435 |
LLM -- "Query π" --> HS[Hybrid Search π\nVector+NER+Lexical]
|
436 |
-
click HS "
|
437 |
|
438 |
HS -- "Reason π€" --> RE[Reasoning Engine π οΈ\nNeuralNetwork+Medical]
|
439 |
-
click RE "
|
440 |
|
441 |
RE -- "Link π‘" --> KG((Knowledge Graph π\nOntology+GAR+RAG))
|
442 |
-
click KG "
|
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 |
########################################################################################
|