Spaces:
Running
Running
Commit
·
3cd07df
1
Parent(s):
db72d0b
Add all relevant code.
Browse files- .gitignore +3 -0
- app.py +14 -0
- poetry.lock +0 -0
- pyproject.toml +21 -0
.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
.env
|
2 |
+
name_recommender/
|
3 |
+
.streamlit/
|
app.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from git import Repo
|
2 |
+
import os
|
3 |
+
import streamlit as st
|
4 |
+
|
5 |
+
REPO_NAME = "name_recommender"
|
6 |
+
|
7 |
+
if os.path.exists(f"./{REPO_NAME}"):
|
8 |
+
pass
|
9 |
+
else:
|
10 |
+
Repo.clone_from(st.secrets["GIT_URL"], f"./{REPO_NAME}")
|
11 |
+
|
12 |
+
import name_recommender.name_recommender.main_app as main_app
|
13 |
+
|
14 |
+
main_app.main()
|
poetry.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pyproject.toml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[tool.poetry]
|
2 |
+
name = "name-recommender"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = ""
|
5 |
+
authors = ["Justin Zhao <[email protected]>"]
|
6 |
+
readme = "README.md"
|
7 |
+
|
8 |
+
[tool.poetry.dependencies]
|
9 |
+
python = "^3.13"
|
10 |
+
streamlit = "^1.41.1"
|
11 |
+
gitpython = "^3.1.44"
|
12 |
+
matplotlib = "^3.10.0"
|
13 |
+
pandas = "^2.2.3"
|
14 |
+
numpy = "^2.2.2"
|
15 |
+
seaborn = "^0.13.2"
|
16 |
+
fpdf2 = "^2.8.2"
|
17 |
+
|
18 |
+
|
19 |
+
[build-system]
|
20 |
+
requires = ["poetry-core"]
|
21 |
+
build-backend = "poetry.core.masonry.api"
|