Spaces:
Runtime error
Runtime error
feat: add title ui
Browse files
app.py
CHANGED
@@ -2,8 +2,12 @@ import gradio as gr
|
|
2 |
from core.base import repeat_partent
|
3 |
|
4 |
with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue)) as demo:
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
-
# ui
|
7 |
with gr.Row():
|
8 |
with gr.Column():
|
9 |
image_input = gr.Image(label="Input Image", interactive=True, sources="upload", type="pil")
|
|
|
2 |
from core.base import repeat_partent
|
3 |
|
4 |
with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue)) as demo:
|
5 |
+
gr.Markdown("""
|
6 |
+
# Repeating Pattern
|
7 |
+
|
8 |
+
This app takes an image and repeats the pattern in the image to fill the target tile size.
|
9 |
+
""")
|
10 |
|
|
|
11 |
with gr.Row():
|
12 |
with gr.Column():
|
13 |
image_input = gr.Image(label="Input Image", interactive=True, sources="upload", type="pil")
|