Skip to content

Commit 5edaade

Browse files
committed
change key words
1 parent f5cae5f commit 5edaade

5 files changed

Lines changed: 22 additions & 22 deletions

File tree

.vscode/dictionaries/project-words.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ stefanzweifel
8383
streamlit
8484
Succesfully
8585
sucess
86-
Threadzip
86+
Sample
8787
tobytes
8888
torchvision
8989
txtl

src/api/fast_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
app = FastAPI(
99
title="sample API",
10-
description="API endpoints for Threadzip with rate limiting",
10+
description="API endpoints for Sample with rate limiting",
1111
version=__version__,
1212
redoc_url="/redoc",
1313
swagger_ui_parameters={

src/sample/__main__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@
1111

1212

1313
@click.group(invoke_without_command=True)
14-
@click.option("--version", is_flag=True, help="Show the Threadzip version and exit.")
14+
@click.option("--version", is_flag=True, help="Show the Sample version and exit.")
1515
@click.pass_context
1616
def cli(ctx, version):
17-
"""Threadzip command-line tools."""
17+
"""Sample command-line tools."""
1818
if version:
1919
click.echo(__version__)
2020
ctx.exit()
2121

2222

2323
@cli.command()
2424
def dev():
25-
"""Run the Threadzip Streamlit app."""
25+
"""Run the Sample Streamlit app."""
2626
main()
2727

2828

2929
@cli.command()
3030
def api():
31-
"""Run the Threadzip FastAPI backend."""
31+
"""Run the Sample FastAPI backend."""
3232
from api.fast_api import start
3333

3434
start()
@@ -38,16 +38,16 @@ def main():
3838
"""
3939
Entrypoint for the Streamlit 'dev' app.
4040
"""
41-
print("🏷️ Threadzip version:", __version__)
41+
print("🏷️ Sample version:", __version__)
4242
logging.info("Starting sample dev script...")
4343

4444
# Paths
45-
threadzip_dir = Path(__file__).resolve().parent
46-
dev_root = threadzip_dir.parent # src/
47-
wheel_root = threadzip_dir.parent # same in wheel
45+
Sample_dir = Path(__file__).resolve().parent
46+
dev_root = Sample_dir.parent # src/
47+
wheel_root = Sample_dir.parent # same in wheel
4848

4949
# Add correct root to sys.path
50-
if "site-packages" in str(threadzip_dir): # running from wheel
50+
if "site-packages" in str(Sample_dir): # running from wheel
5151
if str(wheel_root) not in sys.path:
5252
sys.path.append(str(wheel_root))
5353
logging.info(f"Added wheel root to sys.path: {wheel_root}")
@@ -57,7 +57,7 @@ def main():
5757
logging.info(f"Added dev src root to sys.path: {dev_root}")
5858

5959
# Locate streamlit_app.py
60-
streamlit_app_path = threadzip_dir / "streamlit_app.py"
60+
streamlit_app_path = Sample_dir / "streamlit_app.py"
6161
logging.info(f"Streamlit app path: {streamlit_app_path}")
6262

6363
if not streamlit_app_path.exists():

src/sample/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33

44

55
@click.group(invoke_without_command=True)
6-
@click.option("--version", is_flag=True, help="Show the Threadzip version and exit.")
6+
@click.option("--version", is_flag=True, help="Show the Sample version and exit.")
77
@click.pass_context
88
def cli(ctx, version):
9-
"""Threadzip command-line tools."""
9+
"""Sample command-line tools."""
1010
if version:
1111
click.echo(__version__)
1212
ctx.exit()
1313

1414

1515
@cli.command()
1616
def dev():
17-
"""Run the Threadzip Streamlit app."""
17+
"""Run the Sample Streamlit app."""
1818
from sample.__main__ import main
1919

2020
main()
2121

2222

2323
@cli.command()
2424
def api():
25-
"""Run the Threadzip FastAPI backend."""
25+
"""Run the Sample FastAPI backend."""
2626
from api.fast_api import start
2727

2828
start()

templates/share.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
88
<!-- OpenGraph Meta Tags -->
9-
<meta property="og:title" content="Threadzip Fabric Lab">
9+
<meta property="og:title" content="Sample Fabric Lab">
1010
<meta property="og:description" content="A powerful tool for visualizing fabric analysis and research">
11-
<meta property="og:image" content="https://app.sample.com/threadzip_logo_white.png">
11+
<meta property="og:image" content="https://app.sample.com/Sample_logo_white.png">
1212
<meta property="og:url" content="https://lab.sample.com">
1313
<meta property="og:type" content="website">
1414
<meta property="twitter:card" content="summary_large_image">
15-
<meta property="twitter:title" content="Threadzip Fabric Dashboard">
15+
<meta property="twitter:title" content="Sample Fabric Dashboard">
1616
<meta property="twitter:description" content="A powerful tool for fabric related operations using AI">
17-
<meta property="twitter:image" content="https://app.sample.com/threadzip_logo_black.png">
18-
<title>Threadzip Lab - AI Fabric Analysis</title>
17+
<meta property="twitter:image" content="https://app.sample.com/Sample_logo_black.png">
18+
<title>Sample Lab - AI Fabric Analysis</title>
1919
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
2020

2121
<style>
@@ -126,7 +126,7 @@
126126
</head>
127127

128128
<body>
129-
<p>Redirecting to Threadzip Lab... <a href="https://lab.sample.com">Click here if not redirected</a></p>
129+
<p>Redirecting to Sample Lab... <a href="https://lab.sample.com">Click here if not redirected</a></p>
130130
</body>
131131

132132
</html>

0 commit comments

Comments
 (0)