bump gradio to 3.28.1
This commit is contained in:
parent
f9253cee66
commit
90e4659822
@ -130,8 +130,8 @@ def api_middleware(app: FastAPI):
|
|||||||
"body": vars(e).get('body', ''),
|
"body": vars(e).get('body', ''),
|
||||||
"errors": str(e),
|
"errors": str(e),
|
||||||
}
|
}
|
||||||
print(f"API error: {request.method}: {request.url} {err}")
|
|
||||||
if not isinstance(e, HTTPException): # do not print backtrace on known httpexceptions
|
if not isinstance(e, HTTPException): # do not print backtrace on known httpexceptions
|
||||||
|
print(f"API error: {request.method}: {request.url} {err}")
|
||||||
if rich_available:
|
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]))
|
console.print_exception(show_locals=True, max_frames=2, extra_lines=1, suppress=[anyio, starlette], word_wrap=False, width=min([console.width, 200]))
|
||||||
else:
|
else:
|
||||||
|
@ -5,7 +5,7 @@ basicsr
|
|||||||
fonts
|
fonts
|
||||||
font-roboto
|
font-roboto
|
||||||
gfpgan
|
gfpgan
|
||||||
gradio==3.27
|
gradio==3.28.1
|
||||||
numpy
|
numpy
|
||||||
omegaconf
|
omegaconf
|
||||||
opencv-contrib-python
|
opencv-contrib-python
|
||||||
|
@ -3,7 +3,7 @@ transformers==4.25.1
|
|||||||
accelerate==0.18.0
|
accelerate==0.18.0
|
||||||
basicsr==1.4.2
|
basicsr==1.4.2
|
||||||
gfpgan==1.3.8
|
gfpgan==1.3.8
|
||||||
gradio==3.27
|
gradio==3.28.1
|
||||||
numpy==1.23.5
|
numpy==1.23.5
|
||||||
Pillow==9.4.0
|
Pillow==9.4.0
|
||||||
realesrgan==0.3.0
|
realesrgan==0.3.0
|
||||||
|
Loading…
Reference in New Issue
Block a user