Spaces:
Runtime error
Runtime error
Commit
•
8d738a8
1
Parent(s):
f8a9c01
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ pet_images = {
|
|
10 |
# Define your Gradio interface here
|
11 |
def your_function(pet_name):
|
12 |
# Handle the input and produce the image path or URL
|
13 |
-
image_path = pet_images.get(pet_name, "./download.
|
14 |
return image_path
|
15 |
|
16 |
# Make sure to create a 'default_pet.jpg' file or provide a valid URL for this default image
|
|
|
10 |
# Define your Gradio interface here
|
11 |
def your_function(pet_name):
|
12 |
# Handle the input and produce the image path or URL
|
13 |
+
image_path = pet_images.get(pet_name, "./download.jpeg") # Use a valid default image path
|
14 |
return image_path
|
15 |
|
16 |
# Make sure to create a 'default_pet.jpg' file or provide a valid URL for this default image
|