Spaces:
Paused
Paused
Andhie
commited on
Commit
•
378f056
1
Parent(s):
d116b3e
Fix order
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
import os
|
2 |
|
3 |
-
from huggingface_hub import Repository, login
|
4 |
-
|
5 |
-
from core.Agent import QAAgent
|
6 |
|
7 |
if not os.path.isdir('core'):
|
8 |
login(token=os.environ['HF_TOKEN'])
|
@@ -14,6 +12,7 @@ if not os.path.isdir('core'):
|
|
14 |
token=True
|
15 |
)
|
16 |
repo.git_pull()
|
17 |
-
|
|
|
18 |
|
19 |
QAAgent().chat_ui()
|
|
|
1 |
import os
|
2 |
|
3 |
+
from huggingface_hub import Repository, login
|
|
|
|
|
4 |
|
5 |
if not os.path.isdir('core'):
|
6 |
login(token=os.environ['HF_TOKEN'])
|
|
|
12 |
token=True
|
13 |
)
|
14 |
repo.git_pull()
|
15 |
+
|
16 |
+
from core.Agent import QAAgent
|
17 |
|
18 |
QAAgent().chat_ui()
|