Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
import platform
|
|
|
|
| 3 |
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
@app.get("/")
|
| 7 |
def index():
|
|
|
|
| 8 |
return platform.machine()
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
import platform
|
| 3 |
+
import os
|
| 4 |
|
| 5 |
app = FastAPI()
|
| 6 |
|
| 7 |
@app.get("/")
|
| 8 |
def index():
|
| 9 |
+
os.system("./engines/stockfish-1-uci && echo test")
|
| 10 |
return platform.machine()
|