AutoReadmeAgent / modal_app.py
bogeumkim's picture
Add preprocessor.py
b57f297
raw
history blame
235 Bytes
import modal
app = modal.App("auto-readme-agent")
@app.function()
def square(x):
print("This code is running on a remote worker!")
return x**2
@app.local_entrypoint()
def main():
print("the square is", square.remote(42))