Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def process_audio_step_2(audio_path, norm_whisper):
|
|
| 96 |
|
| 97 |
try:
|
| 98 |
# Connect to the private API
|
| 99 |
-
client = Client(PRIVATE_BACKEND_URL,
|
| 100 |
|
| 101 |
# Call the endpoint 'predict_dsr' defined in the Private Space
|
| 102 |
# We send the audio file and the normalized whisper transcript
|
|
|
|
| 96 |
|
| 97 |
try:
|
| 98 |
# Connect to the private API
|
| 99 |
+
client = Client(PRIVATE_BACKEND_URL, token=HF_TOKEN)
|
| 100 |
|
| 101 |
# Call the endpoint 'predict_dsr' defined in the Private Space
|
| 102 |
# We send the audio file and the normalized whisper transcript
|