Akjava commited on
Commit
93a27a5
1 Parent(s): 7dafb20
Files changed (2) hide show
  1. app.py +3 -3
  2. links.html → demo_tools.html +4 -6
app.py CHANGED
@@ -238,7 +238,7 @@ return path
238
  with gr.Blocks(css=css, elem_id="demo-container") as demo:
239
  with gr.Column():
240
  gr.HTML(read_file("demo_header.html"))
241
- gr.HTML(read_file("links.html"))
242
  with gr.Row():
243
  with gr.Column():
244
  file = gr.File(label="WebP Upload")
@@ -294,5 +294,5 @@ with gr.Blocks(css=css, elem_id="demo-container") as demo:
294
  inputs=[image,file]#example not fire event
295
  )
296
  gr.HTML(read_file("demo_footer.html"))
297
-
298
- demo.launch(allowed_paths=["examples/anime.webp"])#
 
238
  with gr.Blocks(css=css, elem_id="demo-container") as demo:
239
  with gr.Column():
240
  gr.HTML(read_file("demo_header.html"))
241
+ gr.HTML(read_file("demo_tools.html"))
242
  with gr.Row():
243
  with gr.Column():
244
  file = gr.File(label="WebP Upload")
 
294
  inputs=[image,file]#example not fire event
295
  )
296
  gr.HTML(read_file("demo_footer.html"))
297
+ if __name__ == "__main__":
298
+ demo.launch()
links.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>