Web form not loading instead download a file

Hello,

We are using Frappe and we have created a web form called edit profile with a route edit-profile. When a user login to the portal and access this option of edit profile.

The webform is not loading instead a file downloads. This is happening for almost all the users.

Please help.