phenomenon1981 commited on
Commit
89f532b
1 Parent(s): f32e9d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -65,8 +65,10 @@ def send_it8(inputs, noise_level, proc5=proc5):
65
 
66
 
67
  def get_prompts(prompt_text):
 
68
  return text_gen(prompt_text)
69
 
 
70
  with gr.Blocks() as myface:
71
  with gr.Row():
72
 
@@ -78,7 +80,8 @@ with gr.Blocks() as myface:
78
  noise_level=gr.Slider(minimum=0.1, maximum=1, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
79
  run=gr.Button("Generate", blocking=True)
80
 
81
-
 
82
  with gr.Row():
83
  output1=gr.Image(label="Dreamlike Photoreal 2.0", blocking=True, timeout=30)
84
  output2=gr.Image(label="Dreamlike Photoreal 2.0", blocking=True, timeout=30)
 
65
 
66
 
67
  def get_prompts(prompt_text):
68
+ time.sleep(1)
69
  return text_gen(prompt_text)
70
 
71
+
72
  with gr.Blocks() as myface:
73
  with gr.Row():
74
 
 
80
  noise_level=gr.Slider(minimum=0.1, maximum=1, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
81
  run=gr.Button("Generate", blocking=True)
82
 
83
+ with gr.Row():
84
+ like_message = gr.Button("Press the Like Button if you enjoy my space", font_size=20)
85
  with gr.Row():
86
  output1=gr.Image(label="Dreamlike Photoreal 2.0", blocking=True, timeout=30)
87
  output2=gr.Image(label="Dreamlike Photoreal 2.0", blocking=True, timeout=30)