Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,14 @@
|
|
2 |
import sys
|
3 |
import os
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
# importing the hello
|
8 |
-
from localGPTUI import run
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
# ingest.main()
|
13 |
|
|
|
2 |
import sys
|
3 |
import os
|
4 |
|
5 |
+
data_path = os.path.join(os.path.dirname(__file__), '..', 'localGPTUI')
|
|
|
|
|
|
|
6 |
|
7 |
+
# Add the data directory to sys.path
|
8 |
+
sys.path.append(data_path)
|
9 |
+
|
10 |
+
from localGPTUI import localGPTUI
|
11 |
+
|
12 |
+
localGPTUI.main()
|
13 |
|
14 |
# ingest.main()
|
15 |
|