You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Traceback (most recent call last):
File "/content/refacer/app.py", line 70, in
with gr.Blocks() as demo:
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1478, in exit
self.app = routes.App.create_app(self)
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 220, in create_app
def login(form_data: OAuth2PasswordRequestForm = Depends()):
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 706, in decorator
self.add_api_route(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 645, in add_api_route
route = route_class(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 491, in init
self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 268, in get_dependant
sub_dependant = get_param_sub_dependant(
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 111, in get_param_sub_dependant
return get_sub_dependant(
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 147, in get_sub_dependant
sub_dependant = get_dependant(
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 289, in get_dependant
add_param_to_fields(field=param_field, dependant=dependant)
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 462, in add_param_to_fields
if field_info.in_ == params.ParamTypes.path:
AttributeError: 'FieldInfo' object has no attribute 'in_'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/content/refacer/app.py", line 70, in
with gr.Blocks() as demo:
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1478, in exit
self.app = routes.App.create_app(self)
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 220, in create_app
def login(form_data: OAuth2PasswordRequestForm = Depends()):
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 706, in decorator
self.add_api_route(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 645, in add_api_route
route = route_class(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 491, in init
self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 268, in get_dependant
sub_dependant = get_param_sub_dependant(
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 111, in get_param_sub_dependant
return get_sub_dependant(
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 147, in get_sub_dependant
sub_dependant = get_dependant(
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 289, in get_dependant
add_param_to_fields(field=param_field, dependant=dependant)
File "/usr/local/lib/python3.10/dist-packages/fastapi/dependencies/utils.py", line 462, in add_param_to_fields
if field_info.in_ == params.ParamTypes.path:
AttributeError: 'FieldInfo' object has no attribute 'in_'
The text was updated successfully, but these errors were encountered: