Commit History

Implement DOI list handling in CSV uploads and add highlight color feature in predictions. Refactor embedding creation function for clarity and enhance OpenAlex record fetching with new utility function.
cabc445
Running

m7n commited on

Remove unnecessary commented-out code in app.py to enhance clarity and maintainability.
9c57eb7

m7n commited on

Enhance device selection logic in setup_embedding_model to support MPS for Apple Silicon, in addition to CUDA and CPU fallback.
6bef292

m7n commited on

recomit to force push
80e91af

m7n commited on

Refactor app.py to improve handling of serialized data in DataFrame uploads, replacing previous parsing logic with a more robust JSON and Python-repr parsing function. Update file upload instructions to clarify supported formats.
c3c41c1

m7n commited on

Refactor app.py to enhance spaces import handling, provide a fallback for non-Space environments, and restore necessary function calls for resource initialization.
a236b7f

m7n commited on

Update SDK version in README.md from 5.33.0 to 5.23.1 and remove specific torch version from requirements.txt
8734842

m7n commited on

Refactor app.py to streamline spaces import logic and remove commented-out code for clarity.
1dbcc7d

m7n commited on

Refactor spaces import handling in app.py to conditionally import and provide a fallback for non-Space environments.
2887a58

m7n commited on

Refactor GPU function definitions in app.py to improve structure and ensure warmup function is called before embedding creation.
dbd8935

m7n commited on

Add warmup function in app.py to initialize GPU processing with a print statement.
a682539

m7n commited on

Update SDK version in README.md from 5.23.1 to 5.33.0
2945ef8

m7n commited on

Remove unnecessary import of spaces in app.py
bb6d2d0

m7n commited on

Add GPU-aware function to create embeddings for input texts in app.py
6fb2f1c

m7n commited on

Update requirements.txt to specify torch version 2.1.2
2c40bdd

m7n commited on

add spaces import
4293529

m7n commited on

Add app_save_copy.py and app_2.py to .gitignore to prevent tracking of temporary files.
2d03333

m7n commited on

Refactor data processing in app.py to improve handling of dictionary-like strings in DataFrame and update file upload options to support both CSV and Pickle formats.
2b3a335

m7n commited on

Comment out torch import and remove it from requirements.txt
1743cbd

m7n commited on

Re-add torch to requirements and restore scikit-learn dependency
33598a3

m7n commited on

printout running statement
8795549

m7n commited on

removed torch from reqs
0d725a7

m7n commited on

bounced torch to 2.0.0
da900a2

m7n commited on

fixed torch to 2.0.0
de7169c

m7n commited on

Add .venv_clean to .gitignore
3512963

m7n commited on

remove env from gitignore
4f4ba07

m7n commited on

Kicked out pkl upload, fixed csv-upload. Update requirements.txt to specify torch version and add gradio dependency.
a28644f

m7n commited on

Enhance data processing in app.py and openalex_utils.py by improving handling of referenced works and filling missing publication values with spaces.
d748d3b

m7n commited on

Update project funding information in app.py for clarity and consistency.
4c3ab20

m7n commited on

rm working paper, added citation
6530acf

m7n commited on

commented out numba diagnostics, remove later.
137342e

m7n commited on

Toggle use_medoids parameter in prediction function back to True and update datamapplot dependency to point to alternative version by MNoichl.
9028ab4

m7n commited on

Toggle use_medoids parameter in prediction function to False for testing purposes.
c6e66f5

m7n commited on

added import for datamapplot.medoids and printed its help documentation
abbe3d1

m7n commited on

set Numba threads to 16 and print updated thread count
ff632cb

m7n commited on

added numba threads-check
a6bf88c

m7n commited on

check numba config
089051e

m7n commited on

set up caching dirs.
d6522f3

m7n commited on

Try again...
96c83e7

m7n commited on

Bump gradio
0827e5b

m7n commited on

Refactor datamapplot version retrieval to use subprocess and update requirements to point to the main branch
3a5b459

m7n commited on

booped setuptools
904f6cf

m7n commited on

force-bumped gradio added datamaplot version printout
8016bd1

m7n commited on

Reshuffled reqs
5a7ae3a

m7n commited on

Reset datamapplot to prev. install
71a1022

m7n commited on

Merge remote-tracking branch 'origin/main'
3f5bcc7

m7n commited on

Update datamapplot dependency to a more specific commit hash format in requirements.txt
8c8e00a

m7n commited on

Force push to hf
8f7e62e
unverified

MNoichl commited on

Enhance data processing by adding CSV and Pickle file upload support, improving error handling, and refining the prediction pipeline. Update the `process_records_to_df` function to handle existing DataFrames and ensure required fields are processed correctly.
ad4e2b9

m7n commited on

Add JavaScript function to enforce light theme by refreshing the page
3673672

m7n commited on