Skip to content

Commit

Permalink
add ehrapy lib
Browse files Browse the repository at this point in the history
  • Loading branch information
DoraDong-2023 committed Dec 21, 2023
1 parent 5bf2cfd commit 8015f48
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 2 deletions.
6 changes: 4 additions & 2 deletions chatbot_ui_biomania/components/Chat/LibCardSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ export const libImages: { [key: string]: string } = {
'biotite': '/apps/biotite.png',
'deap': '/apps/deap.png',
'eletoolkit': '/apps/eletoolkit.jpg',
'pyopenms': '/apps/pyopenms.png',
'pyopenms': '/apps/pyopenms.jpg',
'scenicplus': '/apps/SCENIC.png',
'scvi-tools': '/apps/scvitools.svg',
'sonata': '/apps/SONATA.png',
'sonata': '/apps/SONATA.jpg',
'MIOSTONE': '/apps/MIOSTONE.jpg',
'ehrapy': '/apps/ehrapy.jpg',
//'custom': '/apps/customize.jpg',
};

Expand Down Expand Up @@ -50,6 +51,7 @@ export const LibCardSelect = () => {
{ id: 'scvi-tools', name: 'scvi-tools' },
{ id: 'sonata', name: 'sonata' },
{ id: 'MIOSTONE', name: 'MIOSTONE' },
{ id: 'ehrapy', name: 'ehrapy' },
//{ id: 'custom', name: 'custom' },
];

Expand Down
Binary file modified chatbot_ui_biomania/public/apps/SCENIC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added chatbot_ui_biomania/public/apps/SONATA.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed chatbot_ui_biomania/public/apps/SONATA.png
Binary file not shown.
Binary file added chatbot_ui_biomania/public/apps/ehrapy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added chatbot_ui_biomania/public/apps/pyopenms.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed chatbot_ui_biomania/public/apps/pyopenms.png
Binary file not shown.
9 changes: 9 additions & 0 deletions src/configs/Lib_cheatsheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,14 @@
"READTHEDOC_LINK": null,
"TUTORIAL_HTML_PATH": null,
"TUTORIAL_GITHUB": null
},
"ehrapy": {
"LIB": "ehrapy",
"LIB_ALIAS": "ehrapy",
"API_HTML_PATH": "ehrapy.readthedocs.io/en/latest/usage/usage.html",
"GITHUB_LINK": null,
"READTHEDOC_LINK": null,
"TUTORIAL_HTML_PATH": null,
"TUTORIAL_GITHUB": null
}
}
1 change: 1 addition & 0 deletions src/models/train_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import pandas as pd
from datetime import datetime
import torch
#torch.cuda.set_per_process_memory_fraction(0.5)
import torch.nn as nn
from sentence_transformers import SentenceTransformer, models, InputExample, losses, LoggingHandler
from torch.utils.data import DataLoader
Expand Down
1 change: 1 addition & 0 deletions src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ bitsandbytes==0.41.1
deap==1.4.1
deepspeed==0.12.0
docstring_parser==0.15
ehrapy==0.6.0
Flask==3.0.0
flask_cors==4.0.0
flask_socketio==5.3.6
Expand Down

0 comments on commit 8015f48

Please sign in to comment.