prithivMLmods commited on
Commit
b3f70a4
·
verified ·
1 Parent(s): c678d8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -247,6 +247,7 @@ def generate_video(model_name: str, text: str, video_path: str,
247
 
248
  # Define examples for image and video inference
249
  image_examples = [
 
250
  ["Describe the safety measures in the image. Conclude (Safe / Unsafe)..", "images/5.jpg"],
251
  ["Convert this page to doc [text] precisely.", "images/3.png"],
252
  ["Convert this page to doc [text] precisely.", "images/4.png"],
@@ -294,7 +295,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
294
  with gr.Column():
295
  with gr.Column(elem_classes="canvas-output"):
296
  gr.Markdown("## Output")
297
- output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=2, show_copy_button=True)
298
  with gr.Accordion("(Result.md)", open=False):
299
  markdown_output = gr.Markdown(label="(Result.Md)")
300
  model_choice = gr.Dropdown(
 
247
 
248
  # Define examples for image and video inference
249
  image_examples = [
250
+ ["Extract the food items, their prices, and the total price from the receipt, and output them in Markdown format.", "images/food_r.png"],
251
  ["Describe the safety measures in the image. Conclude (Safe / Unsafe)..", "images/5.jpg"],
252
  ["Convert this page to doc [text] precisely.", "images/3.png"],
253
  ["Convert this page to doc [text] precisely.", "images/4.png"],
 
295
  with gr.Column():
296
  with gr.Column(elem_classes="canvas-output"):
297
  gr.Markdown("## Output")
298
+ output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=4, show_copy_button=True)
299
  with gr.Accordion("(Result.md)", open=False):
300
  markdown_output = gr.Markdown(label="(Result.Md)")
301
  model_choice = gr.Dropdown(