AstraOS commited on
Commit
c260eba
·
verified ·
1 Parent(s): e357eb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -473,4 +473,8 @@ def delete_self():
473
  os.remove(path)
474
  print(f"{path} deleted")
475
  except Exception as e:
476
- print(f"Could not delete {path}: {e}")
 
 
 
 
 
473
  os.remove(path)
474
  print(f"{path} deleted")
475
  except Exception as e:
476
+ print(f"Could not delete {path}: {e}")
477
+
478
+ if __name__ == "__main__":
479
+ import uvicorn
480
+ uvicorn.run("app:app", host="0.0.0.0", port=7860)