Upload api.ts
Browse files
api.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Configure your Gradio endpoint URL here
|
| 2 |
+
// After deploying your Gradio app, replace this URL with your hosted endpoint
|
| 3 |
+
export const GRADIO_ENDPOINT = "https://huggingface.co/spaces/TutuAwad/iat";
|
| 4 |
+
|
| 5 |
+
// Minimum similarity threshold - songs below this won't be shown
|
| 6 |
+
export const MIN_SIMILARITY_THRESHOLD = 0.5;
|
| 7 |
+
|
| 8 |
+
// Demo mode - set to true to use mock data while setting up backend
|
| 9 |
+
export const DEMO_MODE = false;
|