Spaces:
Build error
Build error
Paweł Klimkowski
commited on
Commit
·
9b1f760
1
Parent(s):
fcd5f7c
feat: example
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def inference(prompt, num_samples):
|
|
13 |
return all_images
|
14 |
|
15 |
with gr.Blocks() as demo:
|
16 |
-
gr.HTML("<h2 style=\"font-size: 2em; font-weight: bold\" align=\"center\"> Tylko Concept model</h2><p style=\"font-size: 1em;
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
prompt = gr.Textbox(label="prompt")
|
@@ -23,7 +23,7 @@ with gr.Blocks() as demo:
|
|
23 |
gallery = gr.Gallery(show_label=True)
|
24 |
|
25 |
run.click(inference, inputs=[prompt,samples], outputs=gallery)
|
26 |
-
gr.Examples([["
|
27 |
|
28 |
|
29 |
demo.launch(debug=True)
|
|
|
13 |
return all_images
|
14 |
|
15 |
with gr.Blocks() as demo:
|
16 |
+
gr.HTML("<h2 style=\"font-size: 2em; font-weight: bold\" align=\"center\"> Tylko Concept model</h2><p style=\"font-size: 1em; padding-top: 1em;\" align=\"center\">Generate your own Tylko as you would see the world though Tylko's lenses</p>")
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
prompt = gr.Textbox(label="prompt")
|
|
|
23 |
gallery = gr.Gallery(show_label=True)
|
24 |
|
25 |
run.click(inference, inputs=[prompt,samples], outputs=gallery)
|
26 |
+
gr.Examples([["Bauhaus illustration called 'oklyt classroom ' by Wassily Kandinsky",3],["Painting called 'sideboard with diaries at coffeehouse in Paris' by Claude Monet",3],["a photo of oklyt", 1,1], ["living space in european home in oklyt style, 4k",3]], [prompt,samples], gallery, inference, cache_examples=False)
|
27 |
|
28 |
|
29 |
demo.launch(debug=True)
|