Skip to content

Commit

Permalink
MODIFIED: 2 min limit
Browse files Browse the repository at this point in the history
  • Loading branch information
AquibPy committed Jun 15, 2024
1 parent 126ecbc commit df30c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ async def medigem(image_file: UploadFile = File(...)):
return ResponseText(response=remove_substrings(response.text))

@app.post("/NoteGem", description="This API endpoint leverages the Google Gemini AI Model to generate comprehensive notes from YouTube video transcripts")
@limiter.limit("5/minute")
@limiter.limit("5/2minute")

async def process_video(request: Request, video_url: str = Form(...)):
video_id = extract_video_id(video_url)
Expand Down

0 comments on commit df30c35

Please sign in to comment.