Spaces:
Sleeping
Sleeping
using the wrapper is way better because it sets the pwd to the root of the repo
Browse files- src/app.py +1 -1
src/app.py
CHANGED
|
@@ -3,7 +3,7 @@ import json
|
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
# Load the merged knowledge base
|
| 6 |
-
with open("knowledge_base.json", encoding="utf-8") as f:
|
| 7 |
kb = json.load(f)
|
| 8 |
|
| 9 |
symptom_to_icd = kb["symptom_to_icd"]
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
# Load the merged knowledge base
|
| 6 |
+
with open("data/knowledge_base.json", encoding="utf-8") as f:
|
| 7 |
kb = json.load(f)
|
| 8 |
|
| 9 |
symptom_to_icd = kb["symptom_to_icd"]
|