runtime error

Traceback (most recent call last): File "/home/user/app/app.py", line 47, in <module> diagnose_ui = gr.Function(fn=diagnose_mbti, inputs=input_ui, outputs="text", name="MBTI 유형 진단") AttributeError: module 'gradio' has no attribute 'Function'

Container logs:

Fetching error logs...