Akjava commited on
Commit
b890ee4
·
1 Parent(s): df01e43
Files changed (2) hide show
  1. app.py +3 -2
  2. tools.html → demo_tools.html +4 -6
app.py CHANGED
@@ -86,7 +86,7 @@ css="""
86
  with gr.Blocks(css=css, elem_id="demo-container") as demo:
87
  with gr.Column():
88
  gr.HTML(read_file("demo_header.html"))
89
- gr.HTML(read_file("tools.html"))
90
  with gr.Row():
91
  with gr.Column():
92
  image = gr.ImageEditor(height=800,sources=['upload','clipboard'],transforms=[],image_mode='RGB', layers=False, elem_id="image_upload", type="pil", label="Upload",brush=gr.Brush(colors=["#fff"], color_mode="fixed"))
@@ -119,4 +119,5 @@ with gr.Blocks(css=css, elem_id="demo-container") as demo:
119
  )
120
  gr.HTML(read_file("demo_footer.html"))
121
 
122
- demo.launch()
 
 
86
  with gr.Blocks(css=css, elem_id="demo-container") as demo:
87
  with gr.Column():
88
  gr.HTML(read_file("demo_header.html"))
89
+ gr.HTML(read_file("demo_tools.html"))
90
  with gr.Row():
91
  with gr.Column():
92
  image = gr.ImageEditor(height=800,sources=['upload','clipboard'],transforms=[],image_mode='RGB', layers=False, elem_id="image_upload", type="pil", label="Upload",brush=gr.Brush(colors=["#fff"], color_mode="fixed"))
 
119
  )
120
  gr.HTML(read_file("demo_footer.html"))
121
 
122
+ if __name__ == "__main__":
123
+ demo.launch()
tools.html → demo_tools.html RENAMED
@@ -1,12 +1,10 @@
1
  <div style="text-align: center;">
2
- <p><a href="https://huggingface.co/spaces/Akjava/godot-huggingface-chain">AI Diagram Chat with Voice/Face Character Making Tools</a></p>
3
- <p><a href="https://huggingface.co/spaces/Akjava/WebPTalkHead">[WebP-3F-TH]</a>
 
4
  <a href="https://huggingface.co/spaces/Akjava/flux1-schnell-mask-inpaint">[Flux1-Inpaint(GPU)]</a>
5
  <a href="https://huggingface.co/spaces/Akjava/OpenCVInpaintCPU">[OpenCV-Inapint]</a>
6
  <a href="https://huggingface.co/spaces/Akjava/Simple-Whitebalance-Image">[Whitebalance]</a>
7
  <a href="https://huggingface.co/spaces/Akjava/Simple-Mask-Paste-Image">[Paste Image]</a>
8
- <a href=" https://huggingface.co/spaces/Akjava/WebP-Resize-Convert">[WebP Resize Convert]</a></p>
9
-
10
-
11
-
12
  </div>
 
1
  <div style="text-align: center;">
2
+ <p><a href="https://huggingface.co/spaces/Akjava/AIDiagramChatWithVoice-FaceCharacter">AI Diagram Chat with Voice/Face Character Making Tools</a></p>
3
+ <p><a href="https://huggingface.co/spaces/Akjava/WebPTalkHead">[WebP-3F-TH]</a>
4
+ <a href="https://huggingface.co/spaces/Akjava/flux1-schnell-img2img">[Flux1-Img2Img(GPU)]</a>
5
  <a href="https://huggingface.co/spaces/Akjava/flux1-schnell-mask-inpaint">[Flux1-Inpaint(GPU)]</a>
6
  <a href="https://huggingface.co/spaces/Akjava/OpenCVInpaintCPU">[OpenCV-Inapint]</a>
7
  <a href="https://huggingface.co/spaces/Akjava/Simple-Whitebalance-Image">[Whitebalance]</a>
8
  <a href="https://huggingface.co/spaces/Akjava/Simple-Mask-Paste-Image">[Paste Image]</a>
9
+ <a href=" https://huggingface.co/spaces/Akjava/WebP-Resize-Convert">[WebP Resize Convert]</a></p>
 
 
 
10
  </div>