Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def detect(img):
|
|
31 |
with gr.Blocks() as demo:
|
32 |
|
33 |
with gr.Tab("Upload"):
|
34 |
-
gr.Markdown("# foodServed, drinkServed, person, V0.0.
|
35 |
|
36 |
# Pfad zu Ihren Demo-Bildern
|
37 |
demo_images = ["demoImages/demo01.jpg", "demoImages/demo02.jpg", "demoImages/demo03.jpg", "demoImages/demo04.jpg"]
|
@@ -50,7 +50,7 @@ with gr.Blocks() as demo:
|
|
50 |
gr.Markdown("## Output")
|
51 |
|
52 |
with gr.Tab("Url"):
|
53 |
-
default_url = 'https://
|
54 |
url = gr.Textbox(value=default_url)
|
55 |
button = gr.Button("Detect",variant="primary")
|
56 |
|
|
|
31 |
with gr.Blocks() as demo:
|
32 |
|
33 |
with gr.Tab("Upload"):
|
34 |
+
gr.Markdown("# foodServed, drinkServed, person, V0.0.10") # Dieser Text wird am Anfang des Tabs angezeigt.
|
35 |
|
36 |
# Pfad zu Ihren Demo-Bildern
|
37 |
demo_images = ["demoImages/demo01.jpg", "demoImages/demo02.jpg", "demoImages/demo03.jpg", "demoImages/demo04.jpg"]
|
|
|
50 |
gr.Markdown("## Output")
|
51 |
|
52 |
with gr.Tab("Url"):
|
53 |
+
default_url = 'https://i.postimg.cc/0jdbK03h/food-Image.jpg'
|
54 |
url = gr.Textbox(value=default_url)
|
55 |
button = gr.Button("Detect",variant="primary")
|
56 |
|