diff --git a/examples/llama.android/app/src/main/java/com/example/llama/revamp/viewmodel/ModelsManagementViewModel.kt b/examples/llama.android/app/src/main/java/com/example/llama/revamp/viewmodel/ModelsManagementViewModel.kt index 8cc9093110..e8dcc46527 100644 --- a/examples/llama.android/app/src/main/java/com/example/llama/revamp/viewmodel/ModelsManagementViewModel.kt +++ b/examples/llama.android/app/src/main/java/com/example/llama/revamp/viewmodel/ModelsManagementViewModel.kt @@ -8,7 +8,6 @@ import androidx.lifecycle.viewModelScope import com.example.llama.revamp.data.model.ModelInfo import com.example.llama.revamp.data.repository.InsufficientStorageException import com.example.llama.revamp.data.repository.ModelRepository -import com.example.llama.revamp.util.GgufMetadataReader import com.example.llama.revamp.util.getFileNameFromUri import com.example.llama.revamp.util.getFileSizeFromUri import com.example.llama.revamp.viewmodel.ModelManagementState.Deletion @@ -193,14 +192,7 @@ class ModelsManagementViewModel @Inject constructor( } // TODO-han.yin: Stub for now. Would need to investigate HuggingFace APIs - fun importFromHuggingFace() { - viewModelScope.launch { -// val path = "/data/user/0/com.example.llama/files/models/Phi-4-mini-instruct-Q4_0.gguf" - val path = "/data/user/0/com.example.llama/files/models/gemma-3-4b-it-Q4_K_M.gguf" - val metadata = GgufMetadataReader().readStructuredMetadata(path) - Log.i("JOJO", "GGUF Metadata for $path:\n $metadata") - } - } + fun importFromHuggingFace() {} /** * First show confirmation instead of starting deletion immediately