randydev commited on
Commit
1a5d0dc
1 Parent(s): bbc7e16

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -5
main.py CHANGED
@@ -95,7 +95,7 @@ client_mongo = MongoClient(MONGO_URL)
95
  db = client_mongo["tiktokbot"]
96
  collection = db["users"]
97
 
98
- app = FastAPI(docs_url=None, redoc_url="/redoc")
99
 
100
  def get_all_api_keys():
101
  user = collection.find({})
@@ -194,10 +194,6 @@ def get_profile_clone(user_id):
194
  else:
195
  return None
196
 
197
- @app.get("/")
198
- def welcome_to_ryuzaki():
199
- return {"message": "check docs: https://randydev-ryuzaki-api.hf.space/redoc"}
200
-
201
  @app.post("/ryuzaki/profile-clone")
202
  def profile_clone(
203
  user_id: int,
 
95
  db = client_mongo["tiktokbot"]
96
  collection = db["users"]
97
 
98
+ app = FastAPI(docs_url=None, redoc_url="/")
99
 
100
  def get_all_api_keys():
101
  user = collection.find({})
 
194
  else:
195
  return None
196
 
 
 
 
 
197
  @app.post("/ryuzaki/profile-clone")
198
  def profile_clone(
199
  user_id: int,