anyonehomep1mane commited on
Commit
61c7585
·
1 Parent(s): 2657cd6

Code Changes

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -96,17 +96,17 @@ with gr.Blocks(title="AI Document Summarizer") as demo:
96
  num_top_classes=5
97
  )
98
 
99
- # with gr.Row(equal_height=True):
100
- # gr.Examples(
101
- # examples=[
102
- # ["./baklava.jpg", "dessert on a plate, baklava"],
103
- # ["./cat.jpg", "a cat, two cats, three cats"],
104
- # ["./cat.jpg", "two sleeping cats, two cats playing, three cats laying down"],
105
- # ],
106
- # inputs=[image_input, text_input],
107
- # outputs=[metaclip_output],
108
- # fn=infer,
109
- # )
110
 
111
  run_button.click(
112
  fn=infer,
 
96
  num_top_classes=5
97
  )
98
 
99
+ with gr.Row(equal_height=True):
100
+ gr.Examples(
101
+ examples=[
102
+ ["./baklava.jpg", "dessert on a plate, baklava"],
103
+ ["./cat.jpg", "a cat, two cats, three cats"],
104
+ ["./cat.jpg", "two sleeping cats, two cats playing, three cats laying down"],
105
+ ],
106
+ inputs=[image_input, text_input],
107
+ outputs=[metaclip_output],
108
+ fn=infer,
109
+ )
110
 
111
  run_button.click(
112
  fn=infer,