Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,9 +66,10 @@ with gr.Blocks(css=css) as myface:
|
|
66 |
border-left-color: #000000 !important;
|
67 |
}
|
68 |
|
69 |
-
.
|
70 |
color: white
|
71 |
background-image: linear-gradient(#1e1e2e, #24273a, #303446) !important;
|
|
|
72 |
</style>
|
73 |
<body>
|
74 |
<div class="center"><h1>ToyWorld XL 401</h1>
|
@@ -85,10 +86,10 @@ with gr.Blocks(css=css) as myface:
|
|
85 |
with gr.Row():
|
86 |
with gr.Column(scale=100):
|
87 |
#Model selection dropdown
|
88 |
-
model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True
|
89 |
with gr.Row():
|
90 |
with gr.Column(scale=100):
|
91 |
-
magic1=gr.Textbox(label="Your Prompt", lines=4)
|
92 |
#align-items: center !important;
|
93 |
#appearance: none !important;
|
94 |
|
|
|
66 |
border-left-color: #000000 !important;
|
67 |
}
|
68 |
|
69 |
+
.gr-dropdown{
|
70 |
color: white
|
71 |
background-image: linear-gradient(#1e1e2e, #24273a, #303446) !important;
|
72 |
+
}
|
73 |
</style>
|
74 |
<body>
|
75 |
<div class="center"><h1>ToyWorld XL 401</h1>
|
|
|
86 |
with gr.Row():
|
87 |
with gr.Column(scale=100):
|
88 |
#Model selection dropdown
|
89 |
+
model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
90 |
with gr.Row():
|
91 |
with gr.Column(scale=100):
|
92 |
+
magic1=gr.Textbox(label="Your Prompt", lines=4, elem_classes=["required-dropdown"])
|
93 |
#align-items: center !important;
|
94 |
#appearance: none !important;
|
95 |
|