Spaces:
Sleeping
Sleeping
Update OpenRouter_Agent.py
Browse files- OpenRouter_Agent.py +2 -2
OpenRouter_Agent.py
CHANGED
|
@@ -21,14 +21,14 @@ import os
|
|
| 21 |
HF_API_TOKEN = os.getenv("HF_API_TOKEN")
|
| 22 |
|
| 23 |
audio_transcribe_tool = Tool.from_space(
|
| 24 |
-
"hf-audio/whisper-large-v3",
|
| 25 |
name = "audio_to_text",
|
| 26 |
description = "Transcribe long-form YouTube videos or audio inputs. Paste the URL to a YouTube video or upload audio file to get the transcript.",
|
| 27 |
|
| 28 |
)
|
| 29 |
|
| 30 |
object_detection_tool = Tool.from_space(
|
| 31 |
-
"stevengrove/YOLO-World",
|
| 32 |
name = "Real-Time Open-Vocabulary Object Detector",
|
| 33 |
description = "Detect objects in images or videos."
|
| 34 |
)
|
|
|
|
| 21 |
HF_API_TOKEN = os.getenv("HF_API_TOKEN")
|
| 22 |
|
| 23 |
audio_transcribe_tool = Tool.from_space(
|
| 24 |
+
space_id = "hf-audio/whisper-large-v3",
|
| 25 |
name = "audio_to_text",
|
| 26 |
description = "Transcribe long-form YouTube videos or audio inputs. Paste the URL to a YouTube video or upload audio file to get the transcript.",
|
| 27 |
|
| 28 |
)
|
| 29 |
|
| 30 |
object_detection_tool = Tool.from_space(
|
| 31 |
+
space_id = "stevengrove/YOLO-World",
|
| 32 |
name = "Real-Time Open-Vocabulary Object Detector",
|
| 33 |
description = "Detect objects in images or videos."
|
| 34 |
)
|