Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,17 +71,17 @@ with gr.Blocks(css=css) as myface:
|
|
| 71 |
""")
|
| 72 |
with gr.Row():
|
| 73 |
with gr.Column(scale=100):
|
| 74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
gr.HTML("""<style> .gr-button {
|
| 76 |
color: white !important;
|
| 77 |
border-color: #000000 !important;
|
| 78 |
background: #006699 !important;
|
| 79 |
}</style>""")
|
| 80 |
run=gr.Button("Generate Image")
|
| 81 |
-
with gr.Row():
|
| 82 |
-
with gr.Column(scale=100):
|
| 83 |
-
#Model selection dropdown
|
| 84 |
-
model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
| 85 |
with gr.Row():
|
| 86 |
with gr.Column(style="width=800px"):
|
| 87 |
output1=gr.Image(label=(f"{current_model}"))
|
|
|
|
| 71 |
""")
|
| 72 |
with gr.Row():
|
| 73 |
with gr.Column(scale=100):
|
| 74 |
+
#Model selection dropdown
|
| 75 |
+
model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
| 76 |
+
with gr.Row():
|
| 77 |
+
with gr.Column(scale=100):
|
| 78 |
+
magic1=gr.Textbox(label="Your Prompt", lines=4)
|
| 79 |
gr.HTML("""<style> .gr-button {
|
| 80 |
color: white !important;
|
| 81 |
border-color: #000000 !important;
|
| 82 |
background: #006699 !important;
|
| 83 |
}</style>""")
|
| 84 |
run=gr.Button("Generate Image")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
with gr.Row():
|
| 86 |
with gr.Column(style="width=800px"):
|
| 87 |
output1=gr.Image(label=(f"{current_model}"))
|