-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from TattaBio/leaderboard-v1
Leaderboard w/ Mock data
- Loading branch information
Showing
238 changed files
with
45,975 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Docker file for leaderboard | ||
FROM python:3.11-slim | ||
|
||
WORKDIR /app | ||
|
||
# install curl | ||
RUN apt-get update && apt-get install -y curl | ||
ADD https://astral.sh/uv/install.sh /install.sh | ||
RUN chmod +x /install.sh | ||
RUN /install.sh && rm /install.sh | ||
|
||
# install deps | ||
COPY leaderboard/requirements.txt ./ | ||
RUN /root/.cargo/bin/uv pip install --system --no-cache -r requirements.txt | ||
|
||
# copy src | ||
COPY dgeb dgeb | ||
COPY leaderboard/ leaderboard/ | ||
|
||
# Run gradio when the container launches | ||
EXPOSE 7860 | ||
ENV GRADIO_SERVER_NAME="0.0.0.0" | ||
ENV GRADIO_TEMP_DIR="/app" | ||
WORKDIR /app/leaderboard | ||
CMD ["python", "app.py"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
"""Defines the data modality enum.""" | ||
|
||
from enum import Enum | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: "3" | ||
services: | ||
dgeb-leaderboard: | ||
build: | ||
context: ./ | ||
dockerfile: Dockerfile | ||
ports: | ||
- "7680:7860" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.projectile | ||
**/__pycache__/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# to set up hf repo to recieve origin pushes | ||
git remote set-url --add origin git@hf.co:spaces/tattabio/DGEB |
Empty file.
Oops, something went wrong.