Dagfinn1962 commited on
Commit
a74dfcb
1 Parent(s): 86fe288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -34,13 +34,11 @@ def send_it(inputs, model_choice):
34
  return proc(inputs)
35
 
36
 
37
- with gr.Blocks() as myface:
38
- gr.HTML("""
39
- <head> <style> with global {width: 500px; position; absolute; background-color: #000000; height: 100%; margin-left:2px; margin-right: 2px; font-weight:800; font-size: 24px; margin-right: 10px; padding: 10px;} </style> </head>"""
40
-
41
- )
42
  with gr.Row():
43
- input_text = gr.Textbox(label=" ",placeholder="PROMPT HERE ",lines=4)
44
  # Model selection dropdown
45
  model_name1 = gr.Dropdown(
46
  label=" ",
@@ -52,9 +50,14 @@ with gr.Blocks() as myface:
52
 
53
  )
54
  with gr.Row():
55
- see_prompts = gr.Button("Generate Prompts")
56
- run = gr.Button("Generate Images", varant="primery")
57
 
 
 
 
 
 
58
  with gr.Row():
59
  output1 = gr.Image(label="")
60
  output2 = gr.Image(label="")
 
34
  return proc(inputs)
35
 
36
 
37
+ with gr.Blocks (css = 'main.css') as myface:
38
+
39
+ gr.HTML(" <div style='font-size: 20px; font-family:verdana; background-color:#609e3e; color:#FFFFFF; border:1px solid #FFFFFF; border-radius: 10px; width:50%; height: 30px; float: left; text-align:center;'> Your Promt Here</div> <div style='font-size: 20px; font-family:verdana; background-color:#609e3e; color:#FFFFFF; border:1px solid #FFFFFF; border-radius: 10px; width:50%; height: 30px; float:right;text-align: center;'> Choose model here </div> " )
 
 
40
  with gr.Row():
41
+ input_text = gr.Textbox(label=" ",placeholder="1.PROMPT IDEA HERE ! ",lines=4)
42
  # Model selection dropdown
43
  model_name1 = gr.Dropdown(
44
  label=" ",
 
50
 
51
  )
52
  with gr.Row():
53
+ see_prompts = gr.Button("2. GENERATE YOUR PROMT IDEA HERE!")
54
+ run = gr.Button("3. GENERATE THE IMAGE HERE!", varant="primery")
55
 
56
+ with gr.Row():
57
+ output1 = gr.Image(label="")
58
+
59
+ with gr.Row():
60
+ magic1 = gr.Textbox(label="2. GENERATE IMAGE HERE ! ", lines=2)
61
  with gr.Row():
62
  output1 = gr.Image(label="")
63
  output2 = gr.Image(label="")