mirror of
https://github.com/lepture/captcha.git
synced 2026-03-13 09:43:22 +08:00
docs: add audio captcha example
This commit is contained in:
@@ -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
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user