Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshs committed Oct 20, 2023
1 parent d365fd2 commit fed8550
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def create_about_tab(self):
self.label = QLabel()
self.label.setAlignment(Qt.AlignCenter)
self.label.setText(
"""<h1>FastSD CPU v0.1.0 beta</h1>
"""<h1>FastSD CPU v1.0.0 beta</h1>
<h3>(c)2023 - Rupesh Sreeraman</h3>
<h3>Faster stable diffusion on CPU</h3>
<h3>Based on Latent Consistency Models</h3>
Expand Down Expand Up @@ -239,7 +239,7 @@ def generate_image(self):
cur_seed = int(self.seed_value.text())
torch.manual_seed(cur_seed)

print(f"prompt : {prompt}")
print(f"Prompt : {prompt}")
print(f"Resolution : {img_width} x {img_height}")
print(f"Guidance Scale : {guidance_scale}")
print(f"Inference_steps : {num_inference_steps}")
Expand All @@ -263,7 +263,7 @@ def generate_image(self):
os.mkdir(self.output_path)

images[0].save(os.path.join(self.output_path, f"{image_id}.png"))
print(f"Images saved {image_id}.png")
print(f"Image {image_id}.png saved")
im = ImageQt(images[0]).copy()
pixmap = QPixmap.fromImage(im)
self.img.setPixmap(pixmap)
Expand Down

0 comments on commit fed8550

Please sign in to comment.