AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
142.75k stars 26.92k forks source link

How do we make changes to txt2image.py #68

Closed SgtBlade closed 2 years ago

SgtBlade commented 2 years ago

I'm not too familiar with python projects so my apologies if this is a stupid question but how do we apply the changes made to the txt2image.py file?

I've changed multiple things in this file however nothing seems to be affecting anything. After commenting out I confirmed that it indeed does not seem to use this file. So, how am I supposed to apply the changes made to this file?

AUTOMATIC1111 commented 2 years ago
  1. you are not supposed to make changes to py files
  2. there is no txt2image.py file in the repository
  3. there is modules/txt2img.py, and if i do something inappropriate to it, like putting aaaa on the first line, the program fails to launch
SgtBlade commented 2 years ago
  1. It's an open-source project, making changes to it is what open-source is for.