prithivMLmods commited on
Commit
129183c
·
verified ·
1 Parent(s): 39d72f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -246,16 +246,17 @@ def generate_video(model_name: str, text: str, video_path: str,
246
 
247
  # Define examples for image and video inference
248
  image_examples = [
249
- ["Extract the content", "images/4.png"],
250
- ["Explain the scene", "images/3.jpg"],
 
251
  ["Convert this page to doc [table] precisely for markdown.", "images/0.png"],
252
  ["Perform OCR on the Image.", "images/1.jpg"],
253
- ["Extract the table content", "images/2.png"]
254
  ]
255
 
256
  video_examples = [
257
- ["Explain the Ad in Detail", "videos/1.mp4"],
258
- ["Identify the main actions in the cartoon video", "videos/2.mp4"]
259
  ]
260
 
261
  css = """
 
246
 
247
  # Define examples for image and video inference
248
  image_examples = [
249
+ ["Explain the doc[table] in detail.", "images/ocr.png"],
250
+ ["Extract the content.", "images/4.png"],
251
+ ["Explain the scene.", "images/3.jpg"],
252
  ["Convert this page to doc [table] precisely for markdown.", "images/0.png"],
253
  ["Perform OCR on the Image.", "images/1.jpg"],
254
+ ["Extract the table content.", "images/2.png"]
255
  ]
256
 
257
  video_examples = [
258
+ ["Explain the Ad in Detail.", "videos/1.mp4"],
259
+ ["Identify the main actions in the cartoon video.", "videos/2.mp4"]
260
  ]
261
 
262
  css = """