Spaces:
Sleeping
Sleeping
RobertoBarrosoLuque
commited on
Commit
·
554c731
1
Parent(s):
34b44c1
Update models based on serverless deprecation
Browse files- src/configs/config.yaml +3 -3
- src/modules/transcription.py +1 -1
src/configs/config.yaml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
analyze_damage_image:
|
| 2 |
-
model: "accounts/fireworks/models/
|
| 3 |
temperature: 0.0
|
| 4 |
|
| 5 |
incident_response:
|
| 6 |
-
model: "accounts/fireworks/models/
|
| 7 |
temperature: 0.0
|
| 8 |
|
| 9 |
report_generation:
|
| 10 |
-
model: "accounts/fireworks/models/
|
| 11 |
temperature: 0.0
|
|
|
|
| 1 |
analyze_damage_image:
|
| 2 |
+
model: "accounts/fireworks/models/qwen3-vl-30b-a3b-instruct"
|
| 3 |
temperature: 0.0
|
| 4 |
|
| 5 |
incident_response:
|
| 6 |
+
model: "accounts/fireworks/models/gpt-oss-120b"
|
| 7 |
temperature: 0.0
|
| 8 |
|
| 9 |
report_generation:
|
| 10 |
+
model: "accounts/fireworks/models/kimi-k2-instruct-0905"
|
| 11 |
temperature: 0.0
|
src/modules/transcription.py
CHANGED
|
@@ -9,7 +9,7 @@ import websocket
|
|
| 9 |
class FireworksTranscription:
|
| 10 |
"""Fireworks AI transcription for Gradio integration."""
|
| 11 |
|
| 12 |
-
WEBSOCKET_URL = "wss://audio-streaming
|
| 13 |
|
| 14 |
def __init__(self, api_key: str):
|
| 15 |
self.api_key = api_key
|
|
|
|
| 9 |
class FireworksTranscription:
|
| 10 |
"""Fireworks AI transcription for Gradio integration."""
|
| 11 |
|
| 12 |
+
WEBSOCKET_URL = "wss://audio-streaming-v2.api.fireworks.ai/v1/audio/transcriptions/streaming"
|
| 13 |
|
| 14 |
def __init__(self, api_key: str):
|
| 15 |
self.api_key = api_key
|