mrdbourke commited on
Commit
bed1188
·
verified ·
1 Parent(s): a974cf4

Uploading FoodExtract-Vision demo app.py from YouTube tutorial video

Browse files
Files changed (2) hide show
  1. README.md +2 -0
  2. app.py +0 -1
README.md CHANGED
@@ -22,3 +22,5 @@ Or for an image of food:
22
  ```json
23
  {'is_food': 1, 'image_title': 'fried calamari', 'food_items': ['fried calamari'], 'drink_items': []}
24
  ```
 
 
 
22
  ```json
23
  {'is_food': 1, 'image_title': 'fried calamari', 'food_items': ['fried calamari'], 'drink_items': []}
24
  ```
25
+
26
+ Note: This README.md was authored in a live tutorial recorded for YouTube (link coming soon).
app.py CHANGED
@@ -13,7 +13,6 @@ print(f"[INFO] Loading Original Model")
13
  original_pipeline = pipeline(
14
  "image-text-to-text",
15
  model=BASE_MODEL_ID,
16
-
17
  dtype=torch.bfloat16,
18
  device_map="auto"
19
  )
 
13
  original_pipeline = pipeline(
14
  "image-text-to-text",
15
  model=BASE_MODEL_ID,
 
16
  dtype=torch.bfloat16,
17
  device_map="auto"
18
  )