Spaces:
Build error
Build error
rjorgec
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# --- Rule-based chord dictionary ---
|
| 5 |
CHORDS = {
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
+
from metrics import (
|
| 4 |
+
init_metrics,
|
| 5 |
+
SERVICE_NAME,
|
| 6 |
+
ACTIVE_REQUESTS,
|
| 7 |
+
instrument_chord_request,
|
| 8 |
+
)
|
| 9 |
|
| 10 |
# --- Rule-based chord dictionary ---
|
| 11 |
CHORDS = {
|