sachin commited on
Commit
97bd4ea
·
1 Parent(s): fbe40ea
Files changed (1) hide show
  1. src/server/main.py +1 -3
src/server/main.py CHANGED
@@ -29,11 +29,9 @@ app = FastAPI(
29
  title="Dhwani API",
30
  description="A multilingual AI-powered API supporting Indian languages for chat, text-to-speech, audio processing, and transcription. "
31
  "**Authentication Guide:** \n"
32
- #"1. Register a new user via `/v1/register` with a POST request containing `username` and `password` (requires admin access). \n"
33
  "1. Obtain an access token by sending a POST request to `/v1/token` with `username` and `password`. \n"
34
  "2. Click the 'Authorize' button (top-right), enter your access token (e.g., `your_access_token`) in the 'bearerAuth' field, and click 'Authorize'. \n"
35
- "All protected endpoints require this token for access. \n"
36
- #"Only the 'admin' user (default password: adminpass) can register new users.",
37
  version="1.0.0",
38
  redirect_slashes=False,
39
  openapi_tags=[
 
29
  title="Dhwani API",
30
  description="A multilingual AI-powered API supporting Indian languages for chat, text-to-speech, audio processing, and transcription. "
31
  "**Authentication Guide:** \n"
 
32
  "1. Obtain an access token by sending a POST request to `/v1/token` with `username` and `password`. \n"
33
  "2. Click the 'Authorize' button (top-right), enter your access token (e.g., `your_access_token`) in the 'bearerAuth' field, and click 'Authorize'. \n"
34
+ "All protected endpoints require this token for access. \n",
 
35
  version="1.0.0",
36
  redirect_slashes=False,
37
  openapi_tags=[