14 lines
297 B
Python
14 lines
297 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)
|