Skip to content

Commit dfc4b47

Browse files
committed
feat: 1.0.0
1 parent ab3849b commit dfc4b47

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/stable_diffusion/manager/manager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from functools import lru_cache
22
import typing as T
33
import torch
4+
5+
torch.backends.cudnn.benchmark = True
46
import sys
57
from random import randint
68
from service_streamer import ThreadedStreamer

core/settings/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Settings(
2424
MicroBatchSettings,
2525
):
2626
HUGGINGFACE_TOKEN: str
27-
IMAGESERVER_URL: str
27+
IMAGESERVER_URL: str = 'http://localhost:3000/images'
2828
SAVE_DIR: str = "static"
2929

3030
CORS_ALLOW_ORIGINS: T.List[str] = ["*"]

0 commit comments

Comments
 (0)