We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40b46c9 commit 7889a13Copy full SHA for 7889a13
1 file changed
frontend/src/app/workspace/component/hugging-face/hugging-face.component.ts
@@ -461,9 +461,9 @@ export class HuggingFaceComponent extends FieldType<FieldTypeConfig> implements
461
this.searchLoading = true;
462
this.cdr.detectChanges();
463
return this.http
464
- .get<HuggingFaceModelOption[]>(
465
- `${AppSettings.getApiEndpoint()}/huggingface/models?task=${encodeURIComponent(tag)}&search=${encodeURIComponent(query)}`
466
- )
+ .get<
+ HuggingFaceModelOption[]
+ >(`${AppSettings.getApiEndpoint()}/huggingface/models?task=${encodeURIComponent(tag)}&search=${encodeURIComponent(query)}`)
467
.pipe(
468
catchError((err: unknown) => {
469
console.error("Server-side search failed:", err);
0 commit comments