remove the prompt to place as float32 as it's str not tensor
Browse files
app.py
CHANGED
@@ -116,8 +116,6 @@ def diffusing(prompt,
|
|
116 |
"""
|
117 |
Generates an image using Stable Diffusion based on the input prompt.
|
118 |
"""
|
119 |
-
# Convert 'prompt' to torch.float32
|
120 |
-
prompt = prompt.to(torch.float32)
|
121 |
|
122 |
image = base(
|
123 |
prompt=prompt,
|
|
|
116 |
"""
|
117 |
Generates an image using Stable Diffusion based on the input prompt.
|
118 |
"""
|
|
|
|
|
119 |
|
120 |
image = base(
|
121 |
prompt=prompt,
|