Skip to content

Commit

Permalink
chore: Revert sharing demo
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Sep 18, 2024
1 parent dd453ae commit 071654d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions config/demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,3 @@ title: Røst ASR Demo
description: >
This is a demo of the Danish speech recognition model Røst. Speak into the microphone
and see the text appear on the screen!
# Sharing parameters
share: false
username: null
password: null
6 changes: 1 addition & 5 deletions src/scripts/run_asr_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ def transcribe_audio(sampling_rate_and_audio: tuple[int, np.ndarray]) -> str:
description=config.description,
allow_flagging="never",
)
if config.username is not None and config.password is not None:
auth = (config.username, config.password)
else:
auth = None
demo.launch(share=config.share, auth=auth)
demo.launch()


if __name__ == "__main__":
Expand Down

0 comments on commit 071654d

Please sign in to comment.