ClueAI commited on
Commit
15d4473
1 Parent(s): 27afa97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -197,6 +197,7 @@ def inference_image(text, n_text, guidance_scale, style, shape, clarity, steps,
197
  return file_path_list
198
  image_styles = ['无', '细节大师', '对称美', '虚拟引擎', '空间感', '机械风格', '形状艺术', '治愈', '电影构图', '电影构图(治愈)', '荒芜感', '漫画', '逃离艺术', '斯皮尔伯格', '幻想', '杰作', '壁画', '朦胧', '黑白(3d)', '梵高', '毕加索', '莫奈', '丰子恺', '现代', '欧美']
199
  with gr.Blocks(css=css, title="ClueAI") as demo:
 
200
  gr.Markdown('<h1><center><font color=red style="font-size:50px;">ClueAI全能师</font></center></h1>')
201
  with gr.TabItem("文本生成", id='_tab'):
202
  with gr.Row(variant="compact").style( equal_height=True):
@@ -261,6 +262,9 @@ with gr.Blocks(css=css, title="ClueAI") as demo:
261
  generate_prompt_btn.click(luck_inference_image, inputs=input_params, outputs=[t2i_gallery])
262
  text.submit(inference_image, inputs=input_params, outputs=t2i_gallery)
263
  btn.click(inference_image, inputs=input_params, outputs=t2i_gallery)
264
-
 
 
 
265
  #demo.queue(concurrency_count=3)
266
  demo.launch()
 
197
  return file_path_list
198
  image_styles = ['无', '细节大师', '对称美', '虚拟引擎', '空间感', '机械风格', '形状艺术', '治愈', '电影构图', '电影构图(治愈)', '荒芜感', '漫画', '逃离艺术', '斯皮尔伯格', '幻想', '杰作', '壁画', '朦胧', '黑白(3d)', '梵高', '毕加索', '莫奈', '丰子恺', '现代', '欧美']
199
  with gr.Blocks(css=css, title="ClueAI") as demo:
200
+
201
  gr.Markdown('<h1><center><font color=red style="font-size:50px;">ClueAI全能师</font></center></h1>')
202
  with gr.TabItem("文本生成", id='_tab'):
203
  with gr.Row(variant="compact").style( equal_height=True):
 
262
  generate_prompt_btn.click(luck_inference_image, inputs=input_params, outputs=[t2i_gallery])
263
  text.submit(inference_image, inputs=input_params, outputs=t2i_gallery)
264
  btn.click(inference_image, inputs=input_params, outputs=t2i_gallery)
265
+ # Page Count
266
+ gr.Markdown("""
267
+ <center><a href="https://clustrmaps.com/site/1bsr7" title="Visit tracker"><img src="//www.clustrmaps.com/map_v2.png?d=sFWwaZBlUeql7focpvpWJDpp9DHpvZfdw1kSavIAWqM&cl=ffffff" /></a></center>
268
+ """)
269
  #demo.queue(concurrency_count=3)
270
  demo.launch()