Spaces:
Build error
Build error
fix: add type annotation to _parse_response method for clarity
Browse files
app/services/fst_client.py
CHANGED
|
@@ -157,7 +157,7 @@ class FSTClientService:
|
|
| 157 |
error=str(e),
|
| 158 |
)
|
| 159 |
|
| 160 |
-
def _parse_response(self, response) -> FSTResult:
|
| 161 |
"""
|
| 162 |
Parse FST Gradio API response.
|
| 163 |
|
|
|
|
| 157 |
error=str(e),
|
| 158 |
)
|
| 159 |
|
| 160 |
+
def _parse_response(self, response: object) -> FSTResult:
|
| 161 |
"""
|
| 162 |
Parse FST Gradio API response.
|
| 163 |
|