clone3 commited on
Commit
65040ef
·
1 Parent(s): 8eef0fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -101,7 +101,7 @@ def generate(
101
  ).images
102
  paths = save_images(result, profile, metadata={"prompt": prompt, "seed": seed, "width": width, "height": height, "guidance_scale": guidance_scale, "num_inference_steps": num_inference_steps})
103
  print(time.time() - start_time)
104
- return paths, seed, "RISE"
105
 
106
  examples = [
107
  "portrait photo of a girl, photograph, highly detailed face, depth of field, moody light, golden hour, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography",
@@ -120,7 +120,7 @@ with gr.Blocks(css="style.css") as demo:
120
  with gr.Row():
121
  url = gr.Text(
122
  label="url",
123
- #value="Set Your Value",
124
  show_label=False,
125
  placeholder="Enter your prompt",
126
  max_lines=1,
 
101
  ).images
102
  paths = save_images(result, profile, metadata={"prompt": prompt, "seed": seed, "width": width, "height": height, "guidance_scale": guidance_scale, "num_inference_steps": num_inference_steps})
103
  print(time.time() - start_time)
104
+ return paths, seed
105
 
106
  examples = [
107
  "portrait photo of a girl, photograph, highly detailed face, depth of field, moody light, golden hour, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography",
 
120
  with gr.Row():
121
  url = gr.Text(
122
  label="url",
123
+ value="Set Your Value",
124
  show_label=False,
125
  placeholder="Enter your prompt",
126
  max_lines=1,