favoredone commited on
Commit
9dfa941
·
verified ·
1 Parent(s): 87182ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -122,3 +122,7 @@ async def get_mining_stats():
122
  "difficulty": f"{miner_instance.best_hash_difficulty:,}",
123
  "block_alert": block_alert
124
  }
 
 
 
 
 
122
  "difficulty": f"{miner_instance.best_hash_difficulty:,}",
123
  "block_alert": block_alert
124
  }
125
+
126
+
127
+ if __name__ == "__main__":
128
+ uvicorn.run("app:app", host="0.0.0.0", port=7868, reload=True)