test / app /src /main /java /com /example /open /diffusion /PathManager.java
Androidonnxfork's picture
Upload folder using huggingface_hub
eb310cb
Raw History Blame
392 Bytes
package com.example.open.diffusion;
import android.content.Context;
/**
* Created by ZTMIDGO 2023/4/21
*/
public class PathManager {
public static String getModelPath(Context context){
return context.getFilesDir().getAbsolutePath()+"/model";
}
public static String getAsssetOutputPath(Context context){
return context.getFilesDir().getAbsolutePath();
}
}