prithivMLmods commited on
Commit
7751db9
·
verified ·
1 Parent(s): 99eb2af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -20,9 +20,9 @@ import torch
20
  from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
21
 
22
  #Load the HTML content
23
- #html_file_url = "https://prithivmlmods-hamster-static.static.hf.space/index.html"
24
- #html_content = f'<iframe src="{html_file_url}" style="width:100%; height:180px; border:none;"></iframe>'
25
- #html_file_url = "https://prithivmlmods-static-loading-theme.static.hf.space/index.html"
26
 
27
  #html_file_url = "https://prithivhamster.vercel.app/"
28
  #html_content = f'<iframe src="{html_file_url}" style="width:100%; height:400px; border:none"></iframe>'
@@ -52,10 +52,10 @@ footer {
52
 
53
  examples = [
54
  "3d image, cute girl, in the style of Pixar --ar 1:2 --stylize 750, 4K resolution highlights, Sharp focus, octane render, ray tracing, Ultra-High-Definition, 8k, UHD, HDR, (Masterpiece:1.5), (best quality:1.5)",
55
- "Cold coffee in a cup bokeh --ar 85:128 --v 6.0 --style raw5, 4K",
56
- "Vector illustration of a horse, vector graphic design with flat colors on an brown background in the style of vector art, using simple shapes and graphics with simple details, professionally designed as a tshirt logo ready for print on a white background. --ar 89:82 --v 6.0 --style raw",
57
- "Man in brown leather jacket posing for camera, in the style of sleek and stylized, clockpunk, subtle shades, exacting precision, ferrania p30 --ar 67:101 --v 5",
58
- "Commercial photography, giant burger, white lighting, studio light, 8k octane rendering, high resolution photography, insanely detailed, fine details, on white isolated plain, 8k, commercial photography, stock photo, professional color grading, --v 4 --ar 9:16 "
59
 
60
  ]
61
 
@@ -262,6 +262,9 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
262
  outputs=[result, seed],
263
  api_name="run",
264
  )
 
 
 
265
  gr.Markdown(DESCRIPTIONy)
266
 
267
  gr.Markdown("**Disclaimer:**")
@@ -269,6 +272,6 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
269
  gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
270
 
271
 
272
- #gr.HTML(html_content)
273
  if __name__ == "__main__":
274
  demo.queue(max_size=40).launch()
 
20
  from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
21
 
22
  #Load the HTML content
23
+ html_file_url = "https://prithivmlmods-hamster-static.static.hf.space/index.html"
24
+ html_content = f'<iframe src="{html_file_url}" style="width:100%; height:180px; border:none;"></iframe>'
25
+ html_file_url = "https://prithivmlmods-static-loading-theme.static.hf.space/index.html"
26
 
27
  #html_file_url = "https://prithivhamster.vercel.app/"
28
  #html_content = f'<iframe src="{html_file_url}" style="width:100%; height:400px; border:none"></iframe>'
 
52
 
53
  examples = [
54
  "3d image, cute girl, in the style of Pixar --ar 1:2 --stylize 750, 4K resolution highlights, Sharp focus, octane render, ray tracing, Ultra-High-Definition, 8k, UHD, HDR, (Masterpiece:1.5), (best quality:1.5)",
55
+ "Cold coffee in a cup bokeh --ar 85:128 --v 6.0 --style raw5, 4K"
56
+ # "Vector illustration of a horse, vector graphic design with flat colors on an brown background in the style of vector art, using simple shapes and graphics with simple details, professionally designed as a tshirt logo ready for print on a white background. --ar 89:82 --v 6.0 --style raw",
57
+ # "Man in brown leather jacket posing for camera, in the style of sleek and stylized, clockpunk, subtle shades, exacting precision, ferrania p30 --ar 67:101 --v 5",
58
+ # "Commercial photography, giant burger, white lighting, studio light, 8k octane rendering, high resolution photography, insanely detailed, fine details, on white isolated plain, 8k, commercial photography, stock photo, professional color grading, --v 4 --ar 9:16 "
59
 
60
  ]
61
 
 
262
  outputs=[result, seed],
263
  api_name="run",
264
  )
265
+
266
+ gr.HTML(html_content)
267
+
268
  gr.Markdown(DESCRIPTIONy)
269
 
270
  gr.Markdown("**Disclaimer:**")
 
272
  gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
273
 
274
 
275
+
276
  if __name__ == "__main__":
277
  demo.queue(max_size=40).launch()