1littlecoder commited on
Commit
1f67cec
1 Parent(s): df76205

added examples

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -136,11 +136,10 @@ with gr.Blocks(theme=theme) as demo:
136
  roast_button = gr.Button("Roast Image")
137
  roast_button.click(process_roast, inputs=image_input, outputs=[output_text, audio_output, video_output])
138
 
139
- # Examples
140
- demo.examples = [
141
- ["elon_musk.png"],
142
- ["jensen_huang.png"]
143
- ]
144
 
145
 
146
  # Launch the app
 
136
  roast_button = gr.Button("Roast Image")
137
  roast_button.click(process_roast, inputs=image_input, outputs=[output_text, audio_output, video_output])
138
 
139
+ gr.Examples(
140
+ examples=[["elon_musk.png"], ["jensen_huang.png"]],
141
+ inputs=image_input
142
+ )
 
143
 
144
 
145
  # Launch the app