Spaces:
Runtime error
Runtime error
specify type.
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ with gr.Blocks(theme="gradio/soft") as demo:
|
|
77 |
with gr.Tab("Cartoonization"):
|
78 |
prompt = gr.Textbox(label="Prompt")
|
79 |
neg_prompt = gr.Textbox(label="Negative Prompt")
|
80 |
-
input_image = gr.Image(label="Input Image")
|
81 |
steps = gr.Slider(minimum=5, maximum=100, step=1)
|
82 |
img_cfg = gr.Number(value=1.5, label=f"Image CFG", interactive=True)
|
83 |
text_cfg = gr.Number(value=7.5, label=f"Text CFG", interactive=True)
|
@@ -97,7 +97,7 @@ with gr.Blocks(theme="gradio/soft") as demo:
|
|
97 |
with gr.Tab("Low-level image processing"):
|
98 |
rompt = gr.Textbox(label="Prompt")
|
99 |
neg_prompt = gr.Textbox(label="Negative Prompt")
|
100 |
-
input_image = gr.Image(label="Input Image")
|
101 |
steps = gr.Slider(minimum=5, maximum=100, step=1)
|
102 |
img_cfg = gr.Number(value=1.5, label=f"Image CFG", interactive=True)
|
103 |
text_cfg = gr.Number(value=7.5, label=f"Text CFG", interactive=True)
|
|
|
77 |
with gr.Tab("Cartoonization"):
|
78 |
prompt = gr.Textbox(label="Prompt")
|
79 |
neg_prompt = gr.Textbox(label="Negative Prompt")
|
80 |
+
input_image = gr.Image(label="Input Image", type="pil")
|
81 |
steps = gr.Slider(minimum=5, maximum=100, step=1)
|
82 |
img_cfg = gr.Number(value=1.5, label=f"Image CFG", interactive=True)
|
83 |
text_cfg = gr.Number(value=7.5, label=f"Text CFG", interactive=True)
|
|
|
97 |
with gr.Tab("Low-level image processing"):
|
98 |
rompt = gr.Textbox(label="Prompt")
|
99 |
neg_prompt = gr.Textbox(label="Negative Prompt")
|
100 |
+
input_image = gr.Image(label="Input Image", type="pil")
|
101 |
steps = gr.Slider(minimum=5, maximum=100, step=1)
|
102 |
img_cfg = gr.Number(value=1.5, label=f"Image CFG", interactive=True)
|
103 |
text_cfg = gr.Number(value=7.5, label=f"Text CFG", interactive=True)
|