Skip to content

Commit

Permalink
minor modif
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidDoukhan committed Jul 2, 2024
1 parent 2ba5d27 commit 650f3ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,4 @@ Relevant contributions to the project were done by:
* [Cyril Lashkevich](https://github.com/notorca)
* [Rémi Uro](https://github.com/r-uro)
* [Simon Devauchelle](https://github.com/simonD3V)
* [Valentin Pelloin](https://github.com/valentinp72)
4 changes: 2 additions & 2 deletions scripts/ina_speech_segmenter_pyro_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ def get_njobs(self, msg, nbjobs=20):
return ret

def has_more_jobs(self):
return len(self.lsource) > 0 or len(self.ldest) > 0
return len(self.lsource) > 0

if __name__ == '__main__':
parser = argparse.ArgumentParser(
description='Start the inaSpeechSegmenter server.'
)
parser.add_argument(
'host', type=str,
help='Host/IP to use for the server.'
help='Server hostname or IP to be communicated to remote clients so they can correctly identify and connect to the server.'
)
parser.add_argument(
'csvjobs', type=argparse.FileType('r'),
Expand Down

0 comments on commit 650f3ed

Please sign in to comment.