Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -290,7 +290,7 @@ dict_styles = {
|
|
290 |
'Matrix':'styles/learned_embeds_matrix.bin',
|
291 |
'Oil Painting':'styles/learned_embeds_oil.bin',
|
292 |
}
|
293 |
-
|
294 |
|
295 |
def inference(prompt, style,seed):
|
296 |
|
@@ -308,7 +308,7 @@ examples = [["Pink Ferrari Car", 24041975,"Manga"], ["A man sipping tea wearing
|
|
308 |
|
309 |
demo = gr.Interface(inference,
|
310 |
inputs = [gr.Textbox(label='Prompt', value='Pink Ferrari Car'), gr.Textbox(label='Seed', value='24041975'),
|
311 |
-
gr.Dropdown(['Dr Strange', 'GTA-5', 'Manga', 'Pokemon','Illustration','Matrix','Oil Painting'],
|
312 |
|
313 |
outputs = [
|
314 |
gr.Image(label="Stable Diffusion Output"),
|
|
|
290 |
'Matrix':'styles/learned_embeds_matrix.bin',
|
291 |
'Oil Painting':'styles/learned_embeds_oil.bin',
|
292 |
}
|
293 |
+
dict_styles.keys()
|
294 |
|
295 |
def inference(prompt, style,seed):
|
296 |
|
|
|
308 |
|
309 |
demo = gr.Interface(inference,
|
310 |
inputs = [gr.Textbox(label='Prompt', value='Pink Ferrari Car'), gr.Textbox(label='Seed', value='24041975'),
|
311 |
+
gr.Dropdown(['Dr Strange', 'GTA-5', 'Manga', 'Pokemon','Illustration','Matrix','Oil Painting'], label='Style')],
|
312 |
|
313 |
outputs = [
|
314 |
gr.Image(label="Stable Diffusion Output"),
|