Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
bettermint/stockfish
ProtonnDev
/
engine
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
0938de2
engine
/
main.py
bettermint
Update main.py
0938de2
verified
almost 2 years ago
raw
Copy download link
history
blame
205 Bytes
from
fastapi
import
FastAPI
import
platform
import
os
app = FastAPI()
@app.get(
"/"
)
def
index
():
for
v
in
range
(
1
,
17
):
os.system(
f"./engines/stockfish-
{v}
-uci"
)
return
platform.machine()