Skip to content

Commit 105b693

Browse files
fix: Remove not existing attribute
Making a prediction generate this error: AttributeError: type object 'Button' has no attribute 'update'. The call to the method "update" was removed.
1 parent 44e4f5a commit 105b693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ChatApp/app_modules/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def transfer_input(inputs):
208208
return (
209209
inputs,
210210
gr.update(value=""),
211-
gr.Button.update(visible=True),
211+
gr.Button(visible=True),
212212
)
213213

214214

0 commit comments

Comments
 (0)