DawnC commited on
Commit
1038938
1 Parent(s): 51d0f8f

Update app.py

Browse files

# Add dropdown to reference the recognizable breeds

Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -77,5 +77,11 @@ demo = gr.Interface(
77
  article='[Oxford Project](https://github.com/Eric-Chung-0511/Learning-Record/tree/main/Data%20Science%20Projects/The%20Oxford-IIIT%20Pet%20Project)'
78
  )
79
 
80
- # Launch Gradio demo
81
- demo.launch()
 
 
 
 
 
 
 
77
  article='[Oxford Project](https://github.com/Eric-Chung-0511/Learning-Record/tree/main/Data%20Science%20Projects/The%20Oxford-IIIT%20Pet%20Project)'
78
  )
79
 
80
+ # Add dropdown to reference the recognizable breeds
81
+ with gr.Blocks() as demo_with_dropdown:
82
+ gr.Markdown("# Oxford Pet 🐾 Recognizable Breeds")
83
+ dropdown # Display the dropdown for reference
84
+ demo # Add the existing demo
85
+
86
+ # Launch Gradio demo with dropdown
87
+ demo_with_dropdown.launch()