Skip to content

Commit

Permalink
fix: Remove not existing attribute
Browse files Browse the repository at this point in the history
Making a prediction generate this error:
AttributeError: type object 'Button' has no attribute 'update'.
The call to the method "update" was removed.
  • Loading branch information
raffaeleterribile committed Nov 26, 2023
1 parent 44e4f5a commit 105b693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChatApp/app_modules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def transfer_input(inputs):
return (
inputs,
gr.update(value=""),
gr.Button.update(visible=True),
gr.Button(visible=True),
)


Expand Down

0 comments on commit 105b693

Please sign in to comment.