Spaces:
Runtime error
Runtime error
pseudotensor
commited on
Commit
•
c596b21
1
Parent(s):
4afcc1d
Update with h2oGPT hash 5e48d85682992dae799309dabaf0a4fa501a096f
Browse files- generate.py +16 -0
generate.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import sys
|
3 |
+
|
4 |
+
if os.path.dirname(os.path.abspath(__file__)) not in sys.path:
|
5 |
+
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
6 |
+
|
7 |
+
from src.gen import main
|
8 |
+
from src.utils import H2O_Fire
|
9 |
+
|
10 |
+
|
11 |
+
def entrypoint_main():
|
12 |
+
H2O_Fire(main)
|
13 |
+
|
14 |
+
|
15 |
+
if __name__ == "__main__":
|
16 |
+
entrypoint_main()
|