Spaces:
Running
on
Zero
Running
on
Zero
main
Browse files- gradio_app_asy.py +11 -4
gradio_app_asy.py
CHANGED
@@ -220,12 +220,19 @@ with gr.Blocks() as demo:
|
|
220 |
|
221 |
with gr.Row():
|
222 |
with gr.Column(scale=1):
|
223 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
load_button = gr.Button("Load Model")
|
225 |
-
with gr.Column(scale=1):
|
226 |
-
status_box = gr.Textbox(label="Status", placeholder="Model loading status", interactive=False, value="Model not loaded", lines=1)
|
227 |
-
domain_selector = gr.Dropdown(choices=[], label="Select Domains")
|
228 |
|
|
|
|
|
|
|
|
|
229 |
with gr.Row():
|
230 |
with gr.Column(scale=1):
|
231 |
# Input for the prompt
|
|
|
220 |
|
221 |
with gr.Row():
|
222 |
with gr.Column(scale=1):
|
223 |
+
with gr.Row():
|
224 |
+
with gr.Column(scale=1):
|
225 |
+
frame_selector = gr.Radio(choices=["4 frame", "9 frame"], label="Select Model")
|
226 |
+
with gr.Column(scale=2):
|
227 |
+
domain_selector = gr.Dropdown(choices=[], label="Select Domains")
|
228 |
+
|
229 |
+
# Load Model Button
|
230 |
load_button = gr.Button("Load Model")
|
|
|
|
|
|
|
231 |
|
232 |
+
with gr.Column(scale=1):
|
233 |
+
# Status message box
|
234 |
+
status_box = gr.Textbox(label="Status", placeholder="Model loading status", interactive=False, value="Model not loaded", lines=3)
|
235 |
+
|
236 |
with gr.Row():
|
237 |
with gr.Column(scale=1):
|
238 |
# Input for the prompt
|