prithivMLmods commited on
Commit
05cd3e7
·
verified ·
1 Parent(s): cfb09bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -90,8 +90,8 @@ DESCRIPTIONs = """ㅤㅤㅤ """
90
  DESCRIPTION = """ㅤㅤㅤ """
91
 
92
 
93
- html_file_url = "https://prithivlike.vercel.app/"
94
- html_content = f'<iframe src="{html_file_url}" style="width:100%; height:400px; border:none"></iframe>'
95
 
96
 
97
 
@@ -193,7 +193,6 @@ def generate(
193
  examples = [
194
  "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)",
195
  "Silhouette of Hamburger standing in front of a, dark blue sky, a little saturated orange in the background sunset, night time, dark background, dark black hair, cinematic photography, cinematic lighting, dark theme, shattered camera lens, digital photography, 70mm, f2.8, lens aberration, grain, boke, double exposure, shaterred, color negative ",
196
- "A photograph of the front view portrait of an Cat in a full body dynamic pose on a red background in the style of high fashion moment, with rich colors, dramatic light, in a fantasy art style, with surrealism, elegant details, a golden ratio composition, and detailed texture",
197
  "Closeup of blonde woman depth of field, bokeh, shallow focus, minimalism, fujifilm xh2s with Canon EF lens, cinematic --ar 85:128 --v 6.0 --style raw"
198
  ]
199
 
@@ -201,7 +200,7 @@ css = '''
201
  .gradio-container{max-width: 560px !important}
202
  h1{text-align:center}
203
  '''
204
- with gr.Blocks(css=css, theme="snehilsanyal/scikit-learn") as demo:
205
  gr.Markdown(DESCRIPTIONs)
206
  gr.DuplicateButton(
207
  value="Duplicate Space for private use",
@@ -321,7 +320,7 @@ with gr.Blocks(css=css, theme="snehilsanyal/scikit-learn") as demo:
321
  outputs=[result, seed],
322
  api_name="run",
323
  )
324
- gr.HTML(html_content)
325
  gr.Markdown(DESCRIPTION)
326
  if __name__ == "__main__":
327
  demo.queue(max_size=50).launch()
 
90
  DESCRIPTION = """ㅤㅤㅤ """
91
 
92
 
93
+ #html_file_url = "https://prithivlike.vercel.app/"
94
+ #html_content = f'<iframe src="{html_file_url}" style="width:100%; height:400px; border:none"></iframe>'
95
 
96
 
97
 
 
193
  examples = [
194
  "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)",
195
  "Silhouette of Hamburger standing in front of a, dark blue sky, a little saturated orange in the background sunset, night time, dark background, dark black hair, cinematic photography, cinematic lighting, dark theme, shattered camera lens, digital photography, 70mm, f2.8, lens aberration, grain, boke, double exposure, shaterred, color negative ",
 
196
  "Closeup of blonde woman depth of field, bokeh, shallow focus, minimalism, fujifilm xh2s with Canon EF lens, cinematic --ar 85:128 --v 6.0 --style raw"
197
  ]
198
 
 
200
  .gradio-container{max-width: 560px !important}
201
  h1{text-align:center}
202
  '''
203
+ with gr.Blocks(css=css, theme="xiaobaiyuan/theme_brief") as demo:
204
  gr.Markdown(DESCRIPTIONs)
205
  gr.DuplicateButton(
206
  value="Duplicate Space for private use",
 
320
  outputs=[result, seed],
321
  api_name="run",
322
  )
323
+ #gr.HTML(html_content)
324
  gr.Markdown(DESCRIPTION)
325
  if __name__ == "__main__":
326
  demo.queue(max_size=50).launch()