Spaces:
Runtime error
Runtime error
santoshtyss
commited on
Commit
·
cdf6acc
1
Parent(s):
0bc591a
Update app.py
Browse files
app.py
CHANGED
@@ -226,11 +226,11 @@ with gr.Blocks() as demo:
|
|
226 |
|
227 |
with gr.Row():
|
228 |
input_file = gr.Image(interactive = True, label=image_label, visible=False, shape=(512,512))
|
229 |
-
extract_text = gr.Textbox(label= extract_label, lines=1, interactive = True, visible =
|
230 |
-
prompt_text = gr.Textbox(label= prompt_label, lines=1, interactive = True, visible =
|
231 |
|
232 |
-
with gr.Accordion("Advanced Options"):
|
233 |
-
shot_radio = gr.Radio(shot_services , label=shot_label)
|
234 |
style_radio = gr.Radio(style_services , label=style_label)
|
235 |
lighting_radio = gr.Radio(lighting_services , label=lighting_label)
|
236 |
context_radio = gr.Radio(context_services , label=context_label)
|
|
|
226 |
|
227 |
with gr.Row():
|
228 |
input_file = gr.Image(interactive = True, label=image_label, visible=False, shape=(512,512))
|
229 |
+
extract_text = gr.Textbox(label= extract_label, lines=1, interactive = True, visible = True)
|
230 |
+
prompt_text = gr.Textbox(label= prompt_label, lines=1, interactive = True, visible = True)
|
231 |
|
232 |
+
with gr.Accordion("Advanced Options", open=False):
|
233 |
+
shot_radio = gr.Radio(shot_services , label=shot_label, )
|
234 |
style_radio = gr.Radio(style_services , label=style_label)
|
235 |
lighting_radio = gr.Radio(lighting_services , label=lighting_label)
|
236 |
context_radio = gr.Radio(context_services , label=context_label)
|