root commited on
Commit
bb3f85d
1 Parent(s): 12af5bd

Update Release code url

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. header.html +2 -2
app.py CHANGED
@@ -115,8 +115,8 @@ def request_images(raw_text, class_draw, style_draw, batch_size, sr_option, w, h
115
  url = "http://flagart.baai.ac.cn/api/guohua/"
116
 
117
  d = {"data":[raw_text, int(batch_size), sr_option, w, h, seed]}
118
- print('+++++++++right here+++++++')
119
- print(w,h,seed)
120
  r = requests.post(url, json=d, headers={"Content-Type": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate, br", "Connection": "keep-alive"})
121
  result_text = r.text
122
  content = json.loads(result_text)["data"][0]
 
115
  url = "http://flagart.baai.ac.cn/api/guohua/"
116
 
117
  d = {"data":[raw_text, int(batch_size), sr_option, w, h, seed]}
118
+ # print('+++++++++right here+++++++')
119
+ # print(w,h,seed)
120
  r = requests.post(url, json=d, headers={"Content-Type": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate, br", "Connection": "keep-alive"})
121
  result_text = r.text
122
  content = json.loads(result_text)["data"][0]
header.html CHANGED
@@ -28,10 +28,10 @@
28
  </h1></a>
29
  </div>
30
  <p style="margin-bottom: 10px; font-size: 94%">
31
- FlagStudio 项目致力于贡献优秀AI生成艺术作品。此双语文生图模型项目基于 <a href="https://huggingface.co/CompVis/stable-diffusion" style="text-decoration: underline;">stable diffusion</a>,由BAAI旗下的FlagAI团队提供支持,相关代码和模型权重会在FlagAI中进行开源。
32
  </p>
33
  <p style="margin-bottom: 10px; font-size: 94%">
34
- FlagStudio aims to provide high quality AI-generated artwork. Our current bilingual model is based on the original <a href="https://huggingface.co/CompVis/stable-diffusion" style="text-decoration: underline;">stable diffusion</a> model and is capable to generate images from both Chinese and English text. FlagStudio is developed and supported by the FlagAI team. Relevant code and model weights will be released soon in FlagAI.(open.platform@baai.ac.cn)
35
  </p>
36
 
37
  </div>
 
28
  </h1></a>
29
  </div>
30
  <p style="margin-bottom: 10px; font-size: 94%">
31
+ FlagStudio 项目致力于贡献优秀AI生成艺术作品。此双语文生图模型项目基于 <a href="https://huggingface.co/CompVis/stable-diffusion" style="text-decoration: underline;">stable diffusion</a>,由BAAI旗下的FlagAI团队提供支持,相关代码和模型权重在<a href="https://github.com/FlagAI-Open/FlagAI/tree/master/examples/AltDiffusion" style="text-decoration: underline;">FlagAI AltDiffusion</a>中进行开源。
32
  </p>
33
  <p style="margin-bottom: 10px; font-size: 94%">
34
+ FlagStudio aims to provide high quality AI-generated artwork. Our current bilingual model is based on the original <a href="https://huggingface.co/CompVis/stable-diffusion" style="text-decoration: underline;">stable diffusion</a> model and is capable to generate images from both Chinese and English text. FlagStudio is developed and supported by the FlagAI team. Relevant code and model weights released in <a href="https://github.com/FlagAI-Open/FlagAI/tree/master/examples/AltDiffusion" style="text-decoration: underline;">FlagAI AltDiffusion</a>.(open.platform@baai.ac.cn)
35
  </p>
36
 
37
  </div>