Thafx commited on
Commit
3e68988
·
1 Parent(s): 7ee27ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -206,10 +206,10 @@ with App.Blocks(css='style.css') as demo:
206
  Output2=App.Image(label='Dreamlike Diffusion 1.0',show_label=False)
207
  Output3=App.Image(label='Dreamlike Diffusion 1.0',show_label=False)
208
  Output4=App.Image(label='Dreamlike Diffusion 1.0',show_label=False)
209
- # Output5=App.Image(label='Dreamlike PhotoReal 2.0',show_label=True)
210
- # Output6=App.Image(label='Dreamlike PhotoReal 2.0',show_label=False)
211
- # Output7=App.Image(label='Dreamlike PhotoReal 2.0',show_label=False)
212
- # Output8=App.Image(label='Dreamlike PhotoReal 2.0',show_label=False)
213
 
214
  SeePrompts.click(get_prompts, inputs=[input_text], outputs=[prompt], queue=False)
215
  RandomPrompt.click(GetRandomPrompt, outputs=[prompt], queue=False)
@@ -217,10 +217,10 @@ with App.Blocks(css='style.css') as demo:
217
  Run.click(SendIt2, inputs=[prompt, NoiseLevel], outputs=[Output2])
218
  Run.click(SendIt3, inputs=[prompt, NoiseLevel], outputs=[Output3])
219
  Run.click(SendIt4, inputs=[prompt, NoiseLevel], outputs=[Output4])
220
- # Run.click(SendIt5, inputs=[prompt, neg_prompt, NoiseLevel], outputs=[Output5])
221
- # Run.click(SendIt6, inputs=[prompt, neg_prompt, NoiseLevel], outputs=[Output6])
222
- # Run.click(SendIt7, inputs=[prompt, neg_prompt, NoiseLevel], outputs=[Output7])
223
- # Run.click(SendIt8, inputs=[prompt, neg_prompt, NoiseLevel], outputs=[Output8])
224
 
225
 
226
  with App.Row():
 
206
  Output2=App.Image(label='Dreamlike Diffusion 1.0',show_label=False)
207
  Output3=App.Image(label='Dreamlike Diffusion 1.0',show_label=False)
208
  Output4=App.Image(label='Dreamlike Diffusion 1.0',show_label=False)
209
+ Output5=App.Image(label='Dreamlike PhotoReal 2.0',show_label=True)
210
+ Output6=App.Image(label='Dreamlike PhotoReal 2.0',show_label=False)
211
+ Output7=App.Image(label='Dreamlike PhotoReal 2.0',show_label=False)
212
+ Output8=App.Image(label='Dreamlike PhotoReal 2.0',show_label=False)
213
 
214
  SeePrompts.click(get_prompts, inputs=[input_text], outputs=[prompt], queue=False)
215
  RandomPrompt.click(GetRandomPrompt, outputs=[prompt], queue=False)
 
217
  Run.click(SendIt2, inputs=[prompt, NoiseLevel], outputs=[Output2])
218
  Run.click(SendIt3, inputs=[prompt, NoiseLevel], outputs=[Output3])
219
  Run.click(SendIt4, inputs=[prompt, NoiseLevel], outputs=[Output4])
220
+ Run.click(SendIt5, inputs=[prompt, neg_prompt, NoiseLevel], outputs=[Output5])
221
+ Run.click(SendIt6, inputs=[prompt, neg_prompt, NoiseLevel], outputs=[Output6])
222
+ Run.click(SendIt7, inputs=[prompt, neg_prompt, NoiseLevel], outputs=[Output7])
223
+ Run.click(SendIt8, inputs=[prompt, neg_prompt, NoiseLevel], outputs=[Output8])
224
 
225
 
226
  with App.Row():