mkshing commited on
Commit
3c500d6
1 Parent(s): be90058

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
72
  @torch.inference_mode()
73
  def generate(
74
  prompt: str,
75
- negative_prompt: str = None,
76
  seed: int = 0,
77
  randomize_seed: bool = False,
78
  progress=gr.Progress(track_tqdm=True),
 
72
  @torch.inference_mode()
73
  def generate(
74
  prompt: str,
75
+ negative_prompt: str = "",
76
  seed: int = 0,
77
  randomize_seed: bool = False,
78
  progress=gr.Progress(track_tqdm=True),