Thafx commited on
Commit
f093c7f
1 Parent(s): ffe6452

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -17,8 +17,8 @@ def get_prompts(prompt_text):
17
  return MagicPrompt('')
18
  logging.info('loading Dreamlike Diffusion')
19
  DreamDiffusion=App.Interface.load('models/dreamlike-art/dreamlike-photoreal-2.0') # Credits to SG161222
20
- #logging.info('Loading Dreamlike PhotoReal')
21
- #DreamPhotoReal = DreamDiffusion
22
  #DreamPhotoReal=App.Interface.load('models/dreamlike-art/dreamlike-photoreal-2.0') # Credits to Dreamlike
23
 
24
  def RestartScript():
@@ -209,8 +209,7 @@ with App.Blocks(css='style.css') as demo:
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
 
215
  SeePrompts.click(get_prompts, inputs=[input_text], outputs=[prompt], queue=False)
216
  RandomPrompt.click(GetRandomPrompt, outputs=[prompt], queue=False)
 
17
  return MagicPrompt('')
18
  logging.info('loading Dreamlike Diffusion')
19
  DreamDiffusion=App.Interface.load('models/dreamlike-art/dreamlike-photoreal-2.0') # Credits to SG161222
20
+ logging.info('Loading Dreamlike PhotoReal')
21
+ DreamPhotoReal = DreamDiffusion
22
  #DreamPhotoReal=App.Interface.load('models/dreamlike-art/dreamlike-photoreal-2.0') # Credits to Dreamlike
23
 
24
  def RestartScript():
 
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)