Update app.py
Browse files
app.py
CHANGED
|
@@ -263,7 +263,7 @@ def generate_loss_based_image(text_embeddings, seed, max_length):
|
|
| 263 |
|
| 264 |
|
| 265 |
def generate_image_from_prompt(text_in, style_in):
|
| 266 |
-
STYLE_LIST = ['
|
| 267 |
STYLE_SEEDS = [128, 64, 128, 64, 128]
|
| 268 |
|
| 269 |
print(text_in)
|
|
@@ -299,7 +299,7 @@ demo = gr.Interface(generate_image_from_prompt,
|
|
| 299 |
inputs=[
|
| 300 |
gr.Textbox('man in style of puppy', label=prompt_label, style="width: 100%"),
|
| 301 |
gr.Dropdown(
|
| 302 |
-
['
|
| 303 |
value="valorant",
|
| 304 |
label=styles_label,
|
| 305 |
style="width: 100%"
|
|
|
|
| 263 |
|
| 264 |
|
| 265 |
def generate_image_from_prompt(text_in, style_in):
|
| 266 |
+
STYLE_LIST = ['learned_embeds_gartic-phone.bin','learned_embeds_hawaiian-shirt.bin', 'learned_embeds_phone0.bin1','learned_embeds_style-spdmn.bin','learned_embedssd_yvmqznrm.bin']
|
| 267 |
STYLE_SEEDS = [128, 64, 128, 64, 128]
|
| 268 |
|
| 269 |
print(text_in)
|
|
|
|
| 299 |
inputs=[
|
| 300 |
gr.Textbox('man in style of puppy', label=prompt_label, style="width: 100%"),
|
| 301 |
gr.Dropdown(
|
| 302 |
+
['<gartic-phone>', '<hawaiian shirt>','<gp>','<style-spdmn>','<yvmqznrm>'],
|
| 303 |
value="valorant",
|
| 304 |
label=styles_label,
|
| 305 |
style="width: 100%"
|