Skip to content

Commit

Permalink
docs: add audio captcha example
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jul 18, 2024
1 parent 2e06d59 commit c1d5f1a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/audio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ Generating audio CAPTCHA with the :class:`AudioCaptcha`` class is remarkably sim
captcha = AudioCaptcha()
data: bytearray = captcha.generate('1234')
Here is an example of an audio captcha:

.. raw:: html
<audio controls="controls">
<source src="https://github.com/lepture/captcha/releases/download/v0.5.0/demo.wav" type="audio/wav">
</audio>

Voice library
-------------

Expand Down

0 comments on commit c1d5f1a

Please sign in to comment.