sandz7 commited on
Commit
bde105a
Β·
verified Β·
1 Parent(s): 0957301

remove the prompt to place as float32 as it's str not tensor

Browse files
Files changed (1) hide show
  1. app.py +0 -2
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,