aliciiavs commited on
Commit
4e4b292
·
verified ·
1 Parent(s): 3944306

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,3 +1,9 @@
1
  import gradio as gr
2
 
3
- gr.load("models/aliciiavs/chord-final-model").launch()
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ gr.load("models/aliciiavs/chord-final-model").launch()
4
+ interface = gr.Interface(chord_detector, inputs="image", outputs="text", title="Guitar Chord Detector")
5
+
6
+ custom_example_path = "C:\Users\alici\Pictures\Camera Roll\WIN_20240408_22_52_56_Pro.jpg" # Replace this with the path to your image on your computer
7
+ interface.add_example([custom_example_path], "Custom Example Image")
8
+
9
+ interface.launch()