Amandeep01 commited on
Commit
8ceea3f
·
verified ·
1 Parent(s): 86ca07c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -841,14 +841,6 @@ def process_text_input(text_input):
841
  print(error_msg)
842
  return "<p>No food items detected</p>", error_msg, None, "<p>Analysis not available due to an error</p>"
843
 
844
- # Example images for the demo
845
- def get_example_images():
846
- example_urls = [
847
- "https://huggingface.co/datasets/huggingface-tools/default-examples/resolve/main/images/restaurant_bill1.jpg",
848
- "https://huggingface.co/datasets/huggingface-tools/default-examples/resolve/main/images/restaurant_bill2.jpg"
849
- ]
850
- return example_urls
851
-
852
  # Create the Gradio interface
853
  def create_gradio_interface():
854
  # Define CSS for the interface
 
841
  print(error_msg)
842
  return "<p>No food items detected</p>", error_msg, None, "<p>Analysis not available due to an error</p>"
843
 
 
 
 
 
 
 
 
 
844
  # Create the Gradio interface
845
  def create_gradio_interface():
846
  # Define CSS for the interface