aliciiavs commited on
Commit
287811e
·
verified ·
1 Parent(s): a37dd59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,6 +1,10 @@
1
  import gradio as gr
2
 
3
- gr.load("models/aliciiavs/chord-final-model")
4
- interface = gr.Interface(chord_detector, inputs="image", outputs="text", title="Guitar Chord Detector")
5
 
 
 
 
 
6
  interface.launch()
 
1
  import gradio as gr
2
 
3
+ # Load your model from Hugging Face model hub
4
+ model = gr.load("models/aliciiavs/chord-final-model") # Adjust the model path as needed
5
 
6
+ # Define the Gradio interface
7
+ interface = gr.Interface(model, inputs="image", outputs="text", title="Guitar Chord Detector")
8
+
9
+ # Launch the interface
10
  interface.launch()