Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
muskan171105 authored Oct 11, 2024
1 parent 6d75c51 commit 7cd57b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def submit():

# Fetch file input correctly
profile_pic = request.files.get('profile') # Use get to avoid KeyError

# Check if file is uploaded
if profile_pic:
# Save the file
Expand Down

0 comments on commit 7cd57b4

Please sign in to comment.