Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Agents-MCP-Hackathon
/
AutoReadmeAgent
like
3
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
7960667
AutoReadmeAgent
/
modal_app.py
bogeumkim
Add preprocessor.py
b57f297
2 months ago
raw
Copy download link
history
blame
Safe
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
))