Update app.py
Browse files
app.py
CHANGED
|
@@ -493,7 +493,7 @@ with gr.Blocks(
|
|
| 493 |
elem_classes="output-box"
|
| 494 |
)
|
| 495 |
|
| 496 |
-
# Add examples with diverse Instagram-style descriptions
|
| 497 |
gr.Examples(
|
| 498 |
examples=[
|
| 499 |
["group photo with best friends at sunset"],
|
|
@@ -510,8 +510,7 @@ with gr.Blocks(
|
|
| 510 |
inputs=description_input,
|
| 511 |
outputs=caption_output,
|
| 512 |
fn=generate_instagram_captions,
|
| 513 |
-
cache_examples=False
|
| 514 |
-
elem_classes="gr-examples"
|
| 515 |
)
|
| 516 |
|
| 517 |
# Connect the button to the function
|
|
|
|
| 493 |
elem_classes="output-box"
|
| 494 |
)
|
| 495 |
|
| 496 |
+
# Add examples with diverse Instagram-style descriptions - REMOVED elem_classes
|
| 497 |
gr.Examples(
|
| 498 |
examples=[
|
| 499 |
["group photo with best friends at sunset"],
|
|
|
|
| 510 |
inputs=description_input,
|
| 511 |
outputs=caption_output,
|
| 512 |
fn=generate_instagram_captions,
|
| 513 |
+
cache_examples=False
|
|
|
|
| 514 |
)
|
| 515 |
|
| 516 |
# Connect the button to the function
|