(no commit message)
This commit is contained in:
9
compile.py
Normal file
9
compile.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import sys
|
||||
|
||||
from program.program import ExampleConfig, ExampleProgram
|
||||
|
||||
if __name__ == "__main__":
|
||||
username = sys.argv[1] # ← first arg after script name (username)
|
||||
program = ExampleProgram(ExampleConfig(output_type="str"), runtime_param="hi")
|
||||
repo_path = f"{username}/simple_repo_with_compile"
|
||||
program.push_to_hub(repo_path, with_code=True)
|
||||
Reference in New Issue
Block a user