Update app.py
Browse files
app.py
CHANGED
@@ -198,8 +198,8 @@ with gr.Blocks(title="Media Generation and Search Explorer") as demo:
|
|
198 |
pixabay_status_output = gr.Textbox(label="Status", interactive=False)
|
199 |
|
200 |
with gr.Row():
|
201 |
-
pixabay_image_output = gr.Image(label="Result Image (URL)",
|
202 |
-
pixabay_video_output = gr.Video(label="Result Video (URL)",
|
203 |
|
204 |
# Logic to toggle visibility of input columns and output components based on media type selection
|
205 |
def update_pixabay_inputs_blocks(media_type):
|
|
|
198 |
pixabay_status_output = gr.Textbox(label="Status", interactive=False)
|
199 |
|
200 |
with gr.Row():
|
201 |
+
pixabay_image_output = gr.Image(label="Result Image (URL)", interactive=False)
|
202 |
+
pixabay_video_output = gr.Video(label="Result Video (URL)", interactive=False)
|
203 |
|
204 |
# Logic to toggle visibility of input columns and output components based on media type selection
|
205 |
def update_pixabay_inputs_blocks(media_type):
|