Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- README.md +5 -9
- linkml_app.py +10 -0
- tmp/schema.yaml +0 -0
README.md
CHANGED
|
@@ -1,12 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
colorFrom: gray
|
| 5 |
-
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 5.
|
| 8 |
-
|
| 9 |
-
pinned: false
|
| 10 |
---
|
| 11 |
-
|
| 12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: linkmk-agent
|
| 3 |
+
app_file: linkml_app.py
|
|
|
|
|
|
|
| 4 |
sdk: gradio
|
| 5 |
+
sdk_version: 5.19.0
|
| 6 |
+
python_version: 3.11
|
|
|
|
| 7 |
---
|
| 8 |
+
# LinkML Agent
|
|
|
linkml_app.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
# Add src directory to sys.path
|
| 5 |
+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../src')))
|
| 6 |
+
|
| 7 |
+
import aurelian.agents.linkml_agent as am
|
| 8 |
+
|
| 9 |
+
ui = am.chat(workdir="tmp")
|
| 10 |
+
ui.launch()
|
tmp/schema.yaml
ADDED
|
File without changes
|