Spaces:
Runtime error
Runtime error
Commit ·
8b85ea6
1
Parent(s): dcb463f
edited dockerfiles
Browse files- data/create_pfam_data.ipynb +2 -2
- dockerfile +5 -3
- environment.yml +3 -3
- pfam/analyze_protein_vec_results.ipynb +2 -2
data/create_pfam_data.ipynb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8d332d401cafe959a623a6449ec05ebe1e6e38a1782deee72bfff94eefb21f0
|
| 3 |
+
size 56885
|
dockerfile
CHANGED
|
@@ -31,6 +31,7 @@ RUN conda tos accept \
|
|
| 31 |
|
| 32 |
# Create the env and clean up
|
| 33 |
RUN conda env create -f environment.yml && \
|
|
|
|
| 34 |
conda clean -afy
|
| 35 |
|
| 36 |
# 7. Copy the rest of your code
|
|
@@ -39,8 +40,9 @@ COPY . /workspace/
|
|
| 39 |
# 8. Activate env by default
|
| 40 |
SHELL ["conda", "run", "-n", "protein-conformal", "/bin/bash", "-c"]
|
| 41 |
|
| 42 |
-
# 9. Expose Gradio port
|
| 43 |
EXPOSE 7860
|
| 44 |
|
| 45 |
-
# 10. Default command: start your Gradio app
|
| 46 |
-
|
|
|
|
|
|
| 31 |
|
| 32 |
# Create the env and clean up
|
| 33 |
RUN conda env create -f environment.yml && \
|
| 34 |
+
conda run -n protein-conformal pip install --force-reinstall gradio>=4.0.0 && \
|
| 35 |
conda clean -afy
|
| 36 |
|
| 37 |
# 7. Copy the rest of your code
|
|
|
|
| 40 |
# 8. Activate env by default
|
| 41 |
SHELL ["conda", "run", "-n", "protein-conformal", "/bin/bash", "-c"]
|
| 42 |
|
| 43 |
+
# # 9. Expose Gradio port
|
| 44 |
EXPOSE 7860
|
| 45 |
|
| 46 |
+
# # 10. Default command: start your Gradio app
|
| 47 |
+
# SHELL ["conda", "run", "-n", "protein-conformal", "/bin/bash", "-c"]
|
| 48 |
+
# # CMD python -m protein_conformal.gradio_app --share --host 0.0.0.0
|
environment.yml
CHANGED
|
@@ -16,7 +16,7 @@ dependencies:
|
|
| 16 |
- scikit-learn>=1.0.0
|
| 17 |
|
| 18 |
# Machine Learning & Deep Learning
|
| 19 |
-
- pytorch>=2.
|
| 20 |
- cpuonly # CPU-only PyTorch for Windows compatibility
|
| 21 |
- transformers>=4.30.0
|
| 22 |
|
|
@@ -26,8 +26,7 @@ dependencies:
|
|
| 26 |
# Bioinformatics
|
| 27 |
- biopython>=1.81
|
| 28 |
|
| 29 |
-
# Web frameworks and APIs
|
| 30 |
-
- gradio>=3.50.0
|
| 31 |
- fastapi>=0.90.0
|
| 32 |
- uvicorn>=0.18.0
|
| 33 |
- jinja2>=3.1.0
|
|
@@ -53,6 +52,7 @@ dependencies:
|
|
| 53 |
# Pip dependencies (packages not available via conda)
|
| 54 |
- pip
|
| 55 |
- pip:
|
|
|
|
| 56 |
- py3Dmol>=1.8.0 # 3D molecular visualization for Gradio
|
| 57 |
|
| 58 |
# Installation instructions:
|
|
|
|
| 16 |
- scikit-learn>=1.0.0
|
| 17 |
|
| 18 |
# Machine Learning & Deep Learning
|
| 19 |
+
- pytorch>=2.1.0
|
| 20 |
- cpuonly # CPU-only PyTorch for Windows compatibility
|
| 21 |
- transformers>=4.30.0
|
| 22 |
|
|
|
|
| 26 |
# Bioinformatics
|
| 27 |
- biopython>=1.81
|
| 28 |
|
| 29 |
+
# Web frameworks and APIs
|
|
|
|
| 30 |
- fastapi>=0.90.0
|
| 31 |
- uvicorn>=0.18.0
|
| 32 |
- jinja2>=3.1.0
|
|
|
|
| 52 |
# Pip dependencies (packages not available via conda)
|
| 53 |
- pip
|
| 54 |
- pip:
|
| 55 |
+
- gradio>=4.0.0 # Install from PyPI with prebuilt frontend assets
|
| 56 |
- py3Dmol>=1.8.0 # 3D molecular visualization for Gradio
|
| 57 |
|
| 58 |
# Installation instructions:
|
pfam/analyze_protein_vec_results.ipynb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdd1428a36407709111721d753b86c4416e27c7b135397aabc643a3f32fbd598
|
| 3 |
+
size 718299
|