Spaces:
Runtime error
Runtime error
pseudotensor
commited on
Commit
•
ca9b3d4
1
Parent(s):
f79dfdc
Update with h2oGPT hash 1c93f1c26432bacd38ceb1726fe6009f8d240cb3
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()
|