MedVQA / gradio_interface.py

Commit History

add links to available datasets and example training notebooks in gradio interface
c6d57b5

SushantGautam commited on

enhance gradio interface with improved user guidance and submission details
68a1a94

SushantGautam commited on

update repository references from SushantGautam to SimulaMet in gradio_interface.py and task_1.py
8fd12db

SushantGautam commited on

Refactor add_submission to call refresh_submissions for better clarity
1507e7a

SushantGautam commited on

Update output_table initialization and modify demo.load to use filtered submissions
23a2412

SushantGautam commited on

Fix indentation in demo.load call for display_submissions
4f0c913

SushantGautam commited on

Add demo.load for display_submissions to refresh output_table
1b29025

SushantGautam commited on

Update display_submissions to return Gradio update and make output_table non-interactive
1c51e2c

SushantGautam commited on

Add logging for submission display in display_submissions function
a4c4098

SushantGautam commited on

Add debug logging for JSON file count in refresh_submissions
071abd4

SushantGautam commited on

Refactor add_submission to reset submissions after processing a file
44417a9

SushantGautam commited on

Fix time comparison in display_submissions to use total_seconds for accuracy
3f3374a

SushantGautam commited on

Remove redundant call to refresh_submissions in add_submission function
c079d73

SushantGautam commited on

Add last submission update time tracking to refresh submissions
160dbfd

SushantGautam commited on

Remove redundant submission append operation in add_submission function
6088ece

SushantGautam commited on

Fix time_ago function to return timestamp as a string in UTC format
5e75ea4

SushantGautam commited on

Update submission success message and add URL prompt in task_1 script
bcf11a1

SushantGautam commited on

Simplify time_ago function to return timestamp in UTC format
9f6cec6

SushantGautam commited on

Fix timestamp handling in refresh_submissions to correctly process submitted time values
235a7c1

SushantGautam commited on

Refactor JSON file retrieval in refresh_submissions to improve clarity and ensure correct listing of file names
b445d32

SushantGautam commited on

Refactor JSON file retrieval in refresh_submissions to correctly list file names
39ac175

SushantGautam commited on

Fix JSON file retrieval in refresh_submissions to correctly handle file paths
8ec3a0b

SushantGautam commited on

Update JSON file retrieval in refresh_submissions to support nested directories
f6d47e5

SushantGautam commited on

Update submission download patterns to include nested JSON files and ensure hub_path directory is created if it doesn't exist
6815557

SushantGautam commited on

Call refresh_submissions after adding a new submission to update the submission list
5d6cd88

SushantGautam commited on

Uncomment submission deletion logic in refresh_submissions function and update time handling for submission timestamps
c6b2561

SushantGautam commited on

Ensure hub_path directory exists before listing downloaded submissions
00aad64

SushantGautam commited on

Comment out existing submission deletion logic in refresh_submissions function
a92924f

SushantGautam commited on

Refactor submission handling to use hub_path instead of hub_dir and improve logging for downloaded submissions
c7c831b

SushantGautam commited on

Refactor submission handling to dynamically load submissions from JSON files and remove hardcoded sample data
d602371

SushantGautam commited on

Update submission timestamps to use UTC for consistent time handling
257177b

SushantGautam commited on

Specify repo_type as "dataset" in add_submission function for clarity in file uploads
278edea

SushantGautam commited on

Update whoami function call to print account token and fix timezone handling in submission time validation
716f5a5

SushantGautam commited on

Comment out whoami function call and update snapshot_download to specify repo_type for improved clarity
929f324

SushantGautam commited on

Add whoami function call to authenticate Hugging Face token
9110c66

SushantGautam commited on

Refactor get_hub_path to manage hub directory and ensure clean downloads
f9f09f4

SushantGautam commited on

Replace hf_hub_download with snapshot_download for improved submission repository access
33f88d6

SushantGautam commited on

Add hf_hub_download for submission repository and fix timestamp conversion in add_submission function
441f3cf

SushantGautam commited on

Update submission file parsing to use custom delimiter and adjust upload path
cef7c8f

SushantGautam commited on

Update submission file naming convention to use custom delimiter
a51385c

SushantGautam commited on

Add logging for received submissions in add_submission function
8d60fff

SushantGautam commited on

Update submission path to use task directory in gradio_interface.py
ff20e1e

SushantGautam commited on

Enhance Gradio interface with a friendly server response and integrate submission server ping functionality
1ef368a

SushantGautam commited on

Refactor submissions data and add refresh API functionality in Gradio interface
445b2d0

SushantGautam commited on

Add Gradio interface for viewing and uploading submissions
9e4515d

SushantGautam commited on