Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
cb81c80
1
Parent(s):
34990e0
Update app.py
Browse files
app.py
CHANGED
@@ -77,11 +77,11 @@ def send_it(inputs, model_choice):
|
|
77 |
return proc(inputs)
|
78 |
|
79 |
|
80 |
-
with gr.Blocks (css ='
|
81 |
|
82 |
-
gr.HTML(" <div style='font-size: 20px; font-family:verdana; background-color: #
|
83 |
with gr.Row():
|
84 |
-
input_text = gr.Textbox(label=" ",placeholder="1.PROMPT IDEA HERE ! ",lines=4)
|
85 |
# Model selection dropdown
|
86 |
model_name1 = gr.Dropdown(
|
87 |
label="2 Choose model here",
|
@@ -93,8 +93,8 @@ with gr.Blocks (css ='theme.css') as myface:
|
|
93 |
|
94 |
)
|
95 |
with gr.Row():
|
96 |
-
see_prompts = gr.Button("3. GENERATE YOUR PROMT IDEA HERE!")
|
97 |
-
run = gr.Button("4. GENERATE THE IMAGE HERE!", varant="primery")
|
98 |
|
99 |
#
|
100 |
with gr.Row():
|
@@ -117,7 +117,7 @@ with gr.Blocks (css ='theme.css') as myface:
|
|
117 |
see_prompts.click(text_it, inputs=[input_text], outputs=[magic2])
|
118 |
see_prompts.click(text_it, inputs=[input_text], outputs=[magic3])
|
119 |
|
120 |
-
title="Daylight (SD)
|
121 |
-
article="
|
122 |
myface.queue(concurrency_count=200)
|
123 |
myface.launch(inline=True, max_threads=400)
|
|
|
77 |
return proc(inputs)
|
78 |
|
79 |
|
80 |
+
with gr.Blocks (css ='main.css') as myface:
|
81 |
|
82 |
+
gr.HTML(" <div style='font-size: 20px; font-family:verdana; background-color: #0e010e; color:#FFFFFFF; border:1px solid #0e010e; 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:#0e010e; color:#FFFFFFF; border:1px solid #FFFFFF; border-radius: 10px; width:50%; height: 30px; float:right;text-align: center;'> Choose model here </div> " )
|
83 |
with gr.Row():
|
84 |
+
input_text = gr.Textbox(label=" ",placeholder="<h3>1.PROMPT IDEA HERE ! ",lines=4)
|
85 |
# Model selection dropdown
|
86 |
model_name1 = gr.Dropdown(
|
87 |
label="2 Choose model here",
|
|
|
93 |
|
94 |
)
|
95 |
with gr.Row():
|
96 |
+
see_prompts = gr.Button("<h3> 3. GENERATE YOUR PROMT IDEA HERE!")
|
97 |
+
run = gr.Button(<h3>"4. GENERATE THE IMAGE HERE!", varant="primery")
|
98 |
|
99 |
#
|
100 |
with gr.Row():
|
|
|
117 |
see_prompts.click(text_it, inputs=[input_text], outputs=[magic2])
|
118 |
see_prompts.click(text_it, inputs=[input_text], outputs=[magic3])
|
119 |
|
120 |
+
title="Daylight (SD) ",
|
121 |
+
article="",
|
122 |
myface.queue(concurrency_count=200)
|
123 |
myface.launch(inline=True, max_threads=400)
|