Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -11,7 +11,7 @@ def find_imports(code):
|
|
11 |
app = FastAPI()
|
12 |
|
13 |
@app.post("/code")
|
14 |
-
def run_mojo_code(code:str, filename:str) -> dict
|
15 |
try:
|
16 |
imports = find_imports(code)
|
17 |
for imported in imports:
|
|
|
11 |
app = FastAPI()
|
12 |
|
13 |
@app.post("/code")
|
14 |
+
def run_mojo_code(code:str, filename:str) -> dict:
|
15 |
try:
|
16 |
imports = find_imports(code)
|
17 |
for imported in imports:
|