N.Achyuth Reddy commited on
Commit
f2e96fa
·
1 Parent(s): d990dad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import emoji
12
  text_gen=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion")
13
  def get_prompts(prompt_text):
14
  if prompt_text:
15
- return text_gen(prompt_text + " realistic, 8k, cinematic, highly detailed, movie still")
16
  else:
17
  return text_gen("")
18
  proc1=gr.Interface.load("models/AchyuthGamer/ImMagician")
@@ -182,6 +182,14 @@ with gr.Blocks(css='style.css') as demo:
182
  </div>
183
  """
184
  )
 
 
 
 
 
 
 
 
185
  with gr.Row():
186
  with gr.Row():
187
  output1=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto")
 
12
  text_gen=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion")
13
  def get_prompts(prompt_text):
14
  if prompt_text:
15
+ return text_gen(prompt_text + " realistic, 8k, cyberpunk, highly detailed, ultra super realism, realism, high graphics")
16
  else:
17
  return text_gen("")
18
  proc1=gr.Interface.load("models/AchyuthGamer/ImMagician")
 
182
  </div>
183
  """
184
  )
185
+ with gr.Blocks() as demo:
186
+ gr.Button(link=output1)
187
+ gr.Button(link=output2)
188
+ gr.Button(link=output3)
189
+ gr.Button(link=output4)
190
+ gr.Button(link=output5)
191
+ gr.Button(link=outputX)
192
+
193
  with gr.Row():
194
  with gr.Row():
195
  output1=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto")