You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/android/RunAnywhereAI/app/src/main/java/com/runanywhere/runanywhereai/presentation/lora/LoraViewModel.kt
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -253,13 +253,6 @@ class LoraViewModel(application: Application) : AndroidViewModel(application) {
253
253
}
254
254
}
255
255
}
256
-
// Validate downloaded file size if catalog provides one
257
-
if (entry.fileSize >0&& tmpFile.length() != entry.fileSize) {
258
-
tmpFile.delete()
259
-
throwException(
260
-
"Downloaded file size (${tmpFile.length()}) does not match expected size (${entry.fileSize})"
0 commit comments