Skip to content

Fix: handle empty input gracefully in QuickFactChecker#26

Merged
Deepika14145 merged 1 commit into
Deepika14145:mainfrom
shambhavi0608:fix-empty-input
Sep 26, 2025
Merged

Fix: handle empty input gracefully in QuickFactChecker#26
Deepika14145 merged 1 commit into
Deepika14145:mainfrom
shambhavi0608:fix-empty-input

Conversation

@shambhavi0608
Copy link
Copy Markdown
Contributor

Description

This PR fixes an issue where submitting an empty input caused unexpected behavior.
Added input validation in app.py
Returns a clear JSON error message:
like { "error": "⚠️ Please enter some text before submitting." }
Updated index.html (optional) to support flashed messages for warnings

Added beginner-friendly comments in code for clarity

@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
quick-fact-checker Ready Ready Preview Comment Sep 25, 2025 9:19pm

@Deepika14145 Deepika14145 merged commit f642798 into Deepika14145:main Sep 26, 2025
2 checks passed
@Deepika14145
Copy link
Copy Markdown
Owner

Thank you @shambhavi0608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request gssoc25 LEVEL 3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants