Spaces:
Running
Running
承弱
commited on
Commit
•
f6c784d
1
Parent(s):
cccc783
update gallery
Browse files- app.py +3 -3
- example_images/gallery/2dcartoon_dragon.jpg +0 -0
- example_images/gallery/blindbox.jpg +0 -0
- example_images/gallery/crayon.jpg +0 -0
- example_images/gallery/{kaimenhong.png → image-106.png} +2 -2
- example_images/gallery/image-109.png +3 -0
- example_images/gallery/image-110.png +3 -0
- example_images/gallery/image-111.png +3 -0
- example_images/gallery/image-112.png +3 -0
- example_images/gallery/image-114.png +3 -0
- example_images/gallery/image-118.png +3 -0
app.py
CHANGED
@@ -73,8 +73,8 @@ with block:
|
|
73 |
<img id="banner" src="https://huggingface.co/spaces/martinxm/MemeMaster/resolve/main/example_images/banner2.png" alt="anytext_meme"> <br> \
|
74 |
[<a href="https://arxiv.org/abs/2311.03054" style="color:blue; font-size:18px;">arXiv</a>] \
|
75 |
[<a href="https://github.com/tyxsspa/AnyText" style="color:blue; font-size:18px;">Code</a>] \
|
76 |
-
[<a href="https://modelscope.cn/
|
77 |
-
[<a href="https://huggingface.co/spaces/modelscope/
|
78 |
version: 0.1.0 </div>')
|
79 |
with gr.Row(variant='compact'):
|
80 |
with gr.Accordion('🕹Instructions', open=True,):
|
@@ -203,7 +203,7 @@ with block:
|
|
203 |
|
204 |
texts = gr.Textbox(label="Input Texts(first line)", value='新春快乐')
|
205 |
texts2 = gr.Textbox(label="Input Texts(second line)", value='', visible=False)
|
206 |
-
layout_radio = gr.Radio(["top","down","left","right"], value='down', label="
|
207 |
|
208 |
def text_change(in_texts):
|
209 |
if len(in_texts)> 10:
|
|
|
73 |
<img id="banner" src="https://huggingface.co/spaces/martinxm/MemeMaster/resolve/main/example_images/banner2.png" alt="anytext_meme"> <br> \
|
74 |
[<a href="https://arxiv.org/abs/2311.03054" style="color:blue; font-size:18px;">arXiv</a>] \
|
75 |
[<a href="https://github.com/tyxsspa/AnyText" style="color:blue; font-size:18px;">Code</a>] \
|
76 |
+
[<a href="https://modelscope.cn/studios/iic/MemeMaster/summary" style="color:blue; font-size:18px;">ModelScope</a>]\
|
77 |
+
[<a href="https://huggingface.co/spaces/modelscope/MemeMaster" style="color:blue; font-size:18px;">HuggingFace</a>]\
|
78 |
version: 0.1.0 </div>')
|
79 |
with gr.Row(variant='compact'):
|
80 |
with gr.Accordion('🕹Instructions', open=True,):
|
|
|
203 |
|
204 |
texts = gr.Textbox(label="Input Texts(first line)", value='新春快乐')
|
205 |
texts2 = gr.Textbox(label="Input Texts(second line)", value='', visible=False)
|
206 |
+
layout_radio = gr.Radio(["top","down","left","right"], value='down', label="Text layout", visible=True)
|
207 |
|
208 |
def text_change(in_texts):
|
209 |
if len(in_texts)> 10:
|
example_images/gallery/2dcartoon_dragon.jpg
DELETED
Binary file (89.7 kB)
|
|
example_images/gallery/blindbox.jpg
DELETED
Binary file (103 kB)
|
|
example_images/gallery/crayon.jpg
DELETED
Binary file (195 kB)
|
|
example_images/gallery/{kaimenhong.png → image-106.png}
RENAMED
File without changes
|
example_images/gallery/image-109.png
ADDED
Git LFS Details
|
example_images/gallery/image-110.png
ADDED
Git LFS Details
|
example_images/gallery/image-111.png
ADDED
Git LFS Details
|
example_images/gallery/image-112.png
ADDED
Git LFS Details
|
example_images/gallery/image-114.png
ADDED
Git LFS Details
|
example_images/gallery/image-118.png
ADDED
Git LFS Details
|