Skip to content

Commit

Permalink
bump gradio to 3.28.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Apr 29, 2023
1 parent f9253ce commit 90e4659
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def handle_exception(request: Request, e: Exception):
"body": vars(e).get('body', ''),
"errors": str(e),
}
print(f"API error: {request.method}: {request.url} {err}")
if not isinstance(e, HTTPException): # do not print backtrace on known httpexceptions
print(f"API error: {request.method}: {request.url} {err}")
if rich_available:
console.print_exception(show_locals=True, max_frames=2, extra_lines=1, suppress=[anyio, starlette], word_wrap=False, width=min([console.width, 200]))
else:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ basicsr
fonts
font-roboto
gfpgan
gradio==3.27
gradio==3.28.1
numpy
omegaconf
opencv-contrib-python
Expand Down
2 changes: 1 addition & 1 deletion requirements_versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ transformers==4.25.1
accelerate==0.18.0
basicsr==1.4.2
gfpgan==1.3.8
gradio==3.27
gradio==3.28.1
numpy==1.23.5
Pillow==9.4.0
realesrgan==0.3.0
Expand Down

0 comments on commit 90e4659

Please sign in to comment.