File size: 851 Bytes
597a6c5
 
a96d584
597a6c5
 
 
 
 
 
a96d584
597a6c5
 
a96d584
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: Generate Your Personal SQL DB
emoji: 🗄️
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.26.0
app_file: app.py
pinned: false
license: mit
---

# Generate Your Personal SQL DB

A Gradio web application running on CPU basic that allows you to upload multiple files of any type and logs them into a SQLite database (`files.db`).

## Features
- **Multiple File Uploads**: Upload any filetype (images, text, PDF, binary, audio, etc.).
- **Smart Storage Logic**:
  - Files **<= 1MB** are stored directly inside the SQLite database as binary BLOBs.
  - Files **> 1MB** are saved to disk (`uploads/`) and referenced via relative path in the database.
- **Database Inspection**: View all logged file records in an interactive table.
- **Downloads**: Download the full `.db` SQLite database file or download large files stored on disk.