Add syntax server address
This commit is contained in:
parent
342d78522b
commit
14f3ba5171
3
main.py
3
main.py
@ -18,7 +18,8 @@ def _main():
|
||||
speech_server = 'http://vosk.athene.tech'
|
||||
text = Speech().run(wav_file, speech_server)
|
||||
print(f'Text: {text}')
|
||||
parse_tree = Syntax().run(text)
|
||||
syntax_server = 'http://syntaxnet.athene.tech'
|
||||
parse_tree = Syntax().run(text, syntax_server)
|
||||
print(f'Parse tree: {parse_tree}')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user