fix bad string
This commit is contained in:
parent
e3d3ac2df4
commit
4a3adcd46a
|
@ -114,7 +114,7 @@ prompt = " ".join(sys.argv[1:])
|
||||||
While we're at it, we can also base the filename on the input prompt:
|
While we're at it, we can also base the filename on the input prompt:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
image.save(f"{prompt.replace(" ", "_")}.png")
|
image.save(f'{prompt.replace(" ", "_")}.png')
|
||||||
```
|
```
|
||||||
|
|
||||||
## Wrapping up
|
## Wrapping up
|
||||||
|
|
Loading…
Reference in New Issue