mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Flask/React web server now merged, but needs fixes.
* due to changes in the metadata written to PNG files, web server cannot display images * issue is identified and will be fixed in next 24h * Python 3.9 required for flask/react web server; environment must be updated.
This commit is contained in:
parent
d1a2c4cd8c
commit
00d2d0e90e
@ -19,8 +19,7 @@ from uuid import uuid4
|
||||
from ldm.gfpgan.gfpgan_tools import real_esrgan_upscale
|
||||
from ldm.gfpgan.gfpgan_tools import run_gfpgan
|
||||
from ldm.generate import Generate
|
||||
from ldm.dream.pngwriter import PngWriter, PromptFormatter
|
||||
|
||||
from ldm.dream.pngwriter import PngWriter
|
||||
from modules.parameters import parameters_to_command, create_cmd_parser
|
||||
|
||||
|
||||
@ -29,10 +28,11 @@ USER CONFIG
|
||||
"""
|
||||
|
||||
output_dir = "outputs/" # Base output directory for images
|
||||
host = 'localhost' # Web & socket.io host
|
||||
#host = 'localhost' # Web & socket.io host
|
||||
host = '0.0.0.0' # Web & socket.io host
|
||||
port = 9090 # Web & socket.io port
|
||||
verbose = False # enables copious socket.io logging
|
||||
additional_allowed_origins = ['http://localhost:5173'] # additional CORS allowed origins
|
||||
additional_allowed_origins = ['http://localhost:9090'] # additional CORS allowed origins
|
||||
|
||||
|
||||
"""
|
||||
|
@ -3,7 +3,7 @@ channels:
|
||||
- pytorch
|
||||
- defaults
|
||||
dependencies:
|
||||
- python=3.8.5
|
||||
- python>=3.9
|
||||
- pip=20.3
|
||||
- cudatoolkit=11.3
|
||||
- pytorch=1.11.0
|
||||
@ -20,7 +20,7 @@ dependencies:
|
||||
- realesrgan==0.2.5.0
|
||||
- test-tube>=0.7.5
|
||||
- streamlit==1.12.0
|
||||
- pillow==9.2.0
|
||||
- pillow==6.2.0
|
||||
- einops==0.3.0
|
||||
- torch-fidelity==0.3.0
|
||||
- transformers==4.19.2
|
||||
|
Loading…
Reference in New Issue
Block a user