Himanshu-AT commited on
Commit
c3e1273
·
1 Parent(s): 3cd8d0c

updatem ui

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -72,9 +72,10 @@ def infer(edit_images, prompt, seed=42, randomize_seed=False, width=1024, height
72
  return image, seed
73
 
74
  examples = [
75
- "a tiny astronaut hatching from an egg on the moon",
76
- "a cat holding a sign that says hello world",
77
- "an anime illustration of a wiener schnitzel",
 
78
  ]
79
 
80
  css="""
@@ -97,13 +98,13 @@ with gr.Blocks(css=css) as demo:
97
  sources=["upload", "webcam"],
98
  image_mode='RGB',
99
  layers=False,
100
- brush=gr.Brush(colors=["#FFFFFF"], color_mode="fixed"),
101
- height=600
102
  )
103
  prompt = gr.Text(
104
  label="Prompt",
105
  show_label=False,
106
- max_lines=1,
107
  placeholder="Enter your prompt",
108
  container=False,
109
  )
 
72
  return image, seed
73
 
74
  examples = [
75
+ "photography of a young woman, accent lighting, (front view:1.4), "
76
+ # "a tiny astronaut hatching from an egg on the moon",
77
+ # "a cat holding a sign that says hello world",
78
+ # "an anime illustration of a wiener schnitzel",
79
  ]
80
 
81
  css="""
 
98
  sources=["upload", "webcam"],
99
  image_mode='RGB',
100
  layers=False,
101
+ brush=gr.Brush(colors=["#FFFFFF"]),
102
+ # height=600
103
  )
104
  prompt = gr.Text(
105
  label="Prompt",
106
  show_label=False,
107
+ max_lines=2,
108
  placeholder="Enter your prompt",
109
  container=False,
110
  )