Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|