Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
a74dfcb
1
Parent(s):
86fe288
Update app.py
Browse files
app.py
CHANGED
@@ -34,13 +34,11 @@ def send_it(inputs, model_choice):
|
|
34 |
return proc(inputs)
|
35 |
|
36 |
|
37 |
-
with gr.Blocks()
|
38 |
-
|
39 |
-
<
|
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("
|
56 |
-
run = gr.Button("
|
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="")
|