MKE0108 commited on
Commit
c9e3e03
·
verified ·
1 Parent(s): 38394f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ app = FastAPI()
5
  def bot_run():
6
  import os
7
  os.system("python bot_main.py")
8
- @app.get("/")
9
  def greet_json():
10
  threading.Thread(target=bot_run).start()
11
  return {"Hello": "World!"}
 
5
  def bot_run():
6
  import os
7
  os.system("python bot_main.py")
8
+ @app.get("/start")
9
  def greet_json():
10
  threading.Thread(target=bot_run).start()
11
  return {"Hello": "World!"}