Spaces:
Runtime error
Runtime error
Update app.py
Browse filesRemoving one example
app.py
CHANGED
@@ -40,7 +40,7 @@ iface = gr.Interface(
|
|
40 |
fn=generate_fn,
|
41 |
title="Textual Inversion",
|
42 |
description=f'Textual Inversion Demo, use "{prompt_token}" as the textual inversion token as shown in the examples',
|
43 |
-
article="Note: Keras-cv uses lazy
|
44 |
inputs=gr.Textbox(
|
45 |
label="Prompt",
|
46 |
show_label=False,
|
@@ -49,10 +49,7 @@ iface = gr.Interface(
|
|
49 |
elem_id="input-prompt",
|
50 |
),
|
51 |
outputs=gr.Image(),
|
52 |
-
examples=[
|
53 |
-
["A {prompt_token} drinking beer, 4k, highly detailed, highest quality, 8k"],
|
54 |
-
["A {prompt_token} portrait, 4k, highly detailed, highest quality, 8k"],
|
55 |
-
],
|
56 |
)
|
57 |
|
58 |
if __name__ == "__main__":
|
|
|
40 |
fn=generate_fn,
|
41 |
title="Textual Inversion",
|
42 |
description=f'Textual Inversion Demo, use "{prompt_token}" as the textual inversion token as shown in the examples',
|
43 |
+
article="Note: Keras-cv uses lazy initialization, so the first use will be slower while the model is initialized.",
|
44 |
inputs=gr.Textbox(
|
45 |
label="Prompt",
|
46 |
show_label=False,
|
|
|
49 |
elem_id="input-prompt",
|
50 |
),
|
51 |
outputs=gr.Image(),
|
52 |
+
examples=[[f"A {prompt_token} portrait, 4k, highly detailed, highest quality, 8k"]],
|
|
|
|
|
|
|
53 |
)
|
54 |
|
55 |
if __name__ == "__main__":
|