dev2607 commited on
Commit
2f43bc8
·
verified ·
1 Parent(s): a623a7a

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +3 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import os
2
  import subprocess
3
  import sys
@@ -424,5 +425,6 @@ with gr.Blocks(title="AI Ingredient Scanner") as app:
424
  Always consult with a healthcare provider regarding dietary restrictions, allergies, or health conditions.
425
  """)
426
 
 
427
  if __name__ == "__main__":
428
- app.launch()
 
1
+
2
  import os
3
  import subprocess
4
  import sys
 
425
  Always consult with a healthcare provider regarding dietary restrictions, allergies, or health conditions.
426
  """)
427
 
428
+ # Launch the app
429
  if __name__ == "__main__":
430
+ app.launch()
requirements.txt CHANGED
@@ -3,6 +3,7 @@ torch>=2.0.0
3
  transformers>=4.30.0
4
  Pillow>=9.0.0
5
  numpy>=1.24.0
 
6
  fastapi
7
  uvicorn
8
  gradio
 
3
  transformers>=4.30.0
4
  Pillow>=9.0.0
5
  numpy>=1.24.0
6
+
7
  fastapi
8
  uvicorn
9
  gradio