cocktailpeanut commited on
Commit
711724d
1 Parent(s): e9f320b
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -89,7 +89,7 @@ def generate(
89
  # decoder_timesteps: List[float] = None,
90
  decoder_guidance_scale: float = 0.0,
91
  num_images_per_prompt: int = 2,
92
- profile: gr.OAuthProfile | None = None,
93
  ) -> PIL.Image.Image:
94
  previewer.eval().requires_grad_(False).to(device).to(dtype)
95
  prior_pipeline.to(device)
@@ -281,8 +281,8 @@ with gr.Blocks() as demo:
281
  with gr.Blocks(css="style.css") as demo_with_history:
282
  with gr.Tab("App"):
283
  demo.render()
284
- with gr.Tab("Past generations"):
285
- user_history.render()
286
 
287
  if __name__ == "__main__":
288
  demo_with_history.queue(max_size=20).launch()
 
89
  # decoder_timesteps: List[float] = None,
90
  decoder_guidance_scale: float = 0.0,
91
  num_images_per_prompt: int = 2,
92
+ # profile: gr.OAuthProfile | None = None,
93
  ) -> PIL.Image.Image:
94
  previewer.eval().requires_grad_(False).to(device).to(dtype)
95
  prior_pipeline.to(device)
 
281
  with gr.Blocks(css="style.css") as demo_with_history:
282
  with gr.Tab("App"):
283
  demo.render()
284
+ # with gr.Tab("Past generations"):
285
+ # user_history.render()
286
 
287
  if __name__ == "__main__":
288
  demo_with_history.queue(max_size=20).launch()