Skip to content

Commit

Permalink
rename app to logos
Browse files Browse the repository at this point in the history
  • Loading branch information
genekogan committed Apr 5, 2024
1 parent ab00fcb commit 428f384
Show file tree
Hide file tree
Showing 95 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM python:3.11-slim-bullseye AS python
ENV PYTHONUNBUFFERED 1
WORKDIR /app

COPY app app
COPY logos logos
COPY pyproject.toml pyproject.toml
COPY README.md README.md
COPY requirements.lock requirements.txt
Expand All @@ -13,4 +13,4 @@ RUN apt-get update \
&& apt-get install -y git ffmpeg wget \
&& pip install -r requirements.txt

ENTRYPOINT ["uvicorn", "app.server:app", "--host", "0.0.0.0"]
ENTRYPOINT ["uvicorn", "logos.server:app", "--host", "0.0.0.0"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rye run pre-commit install

Run

`rye run uvicorn app.server:app --reload`
`rye run uvicorn logos.server:app --reload`

Send a command to the server

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ dev-dependencies = [
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["app"]
packages = ["logos"]
2 changes: 1 addition & 1 deletion scripts/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from dotenv import load_dotenv

from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
14 changes: 7 additions & 7 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
from pydantic import BaseModel, Field

from fastapi.testclient import TestClient
from app.server import app
from app import mongo
from app.character import EdenCharacter
from app.models.tasks import SimpleAssistantRequest
from app.scenarios.tasks import general_assistant
from app.utils import create_dynamic_model
from app.plugins import elevenlabs
from logos.server import app
from logos import mongo
from logos.character import EdenCharacter
from logos.models.tasks import SimpleAssistantRequest
from logos.scenarios.tasks import general_assistant
from logos.utils import create_dynamic_model
from logos.plugins import elevenlabs

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_animation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_chat.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_comic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_creation_interfaces.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import random
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_generator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_littlemartians.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import random
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_livecoder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_providers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from app.plugins import replicate, elevenlabs, s3
from logos.plugins import replicate, elevenlabs, s3


def test_elevenlabs():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_scenarios.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_stories.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_tasks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
from app.server import app
from logos.server import app

client = TestClient(app)

Expand All @@ -8,7 +8,7 @@ def test_summary():
"""
Test summarization of a document
"""
from app.prompt_templates.assistant import creator_template
from logos.prompt_templates.assistant import creator_template

text = creator_template.substitute(name="Eden", identity="")

Expand Down

0 comments on commit 428f384

Please sign in to comment.