Spaces:
Sleeping
Sleeping
fix to example_list and remove the share=True from demo.launch
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ import gradio as gr
|
|
54 |
|
55 |
foodvision_mini_examples_path = "examples"
|
56 |
|
57 |
-
example_list = [str(path) for path in foodvision_mini_examples_path.rglob("*.jpg")]
|
58 |
|
59 |
# Create title, description and article
|
60 |
title = "FoodVisionMini V0 πππ£"
|
@@ -72,8 +72,7 @@ demo = gr.Interface(fn=predict,
|
|
72 |
article=article)
|
73 |
|
74 |
# Launch the demo
|
75 |
-
demo.launch(debug=False
|
76 |
-
share=True) # run on public url
|
77 |
|
78 |
|
79 |
# *** IMPORTANTE: The Flag button of the interface will create a folder named "flagged" that will contain the images and predictions of those images that someone has Flagged***
|
|
|
54 |
|
55 |
foodvision_mini_examples_path = "examples"
|
56 |
|
57 |
+
example_list = [str(path) for path in Path(foodvision_mini_examples_path).rglob("*.jpg")]
|
58 |
|
59 |
# Create title, description and article
|
60 |
title = "FoodVisionMini V0 πππ£"
|
|
|
72 |
article=article)
|
73 |
|
74 |
# Launch the demo
|
75 |
+
demo.launch(debug=False) # run on public url
|
|
|
76 |
|
77 |
|
78 |
# *** IMPORTANTE: The Flag button of the interface will create a folder named "flagged" that will contain the images and predictions of those images that someone has Flagged***
|