Skip to content

Erro ao executar uvicorn.run(...) #1458

Answered by meirdev
jhamerski asked this question in Questions
Discussion options

You must be logged in to vote

Change this:

uvicorn.run("main:app", host="127.0.0.1", port=5000, log_level="info")

to this:

uvicorn.run(app, host="127.0.0.1", port=5000, log_level="info")

See my comment here: #350 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #543 on August 06, 2025 18:21.