Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,3 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
| 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()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
gr.load("models/aliciiavs/chord-final-model").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|