14 lines
296 B
Python
14 lines
296 B
Python
from modaic import PrecompiledProgram
|
|
|
|
|
|
class MyProgram(PrecompiledProgram):
|
|
def __init__(self, **kwargs):
|
|
super().__init__(**kwargs)
|
|
|
|
def forward(self, **kwargs):
|
|
return "Hello, world"
|
|
|
|
|
|
program = MyProgram()
|
|
program.push_to_hub("modaic/second-org-repo", with_code=True)
|