babilonczyk commited on
Commit
b5c82cb
·
verified ·
1 Parent(s): 357f9ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  def get_connection_from_zip(zip_path: str, db_filename: str) -> sqlite3.Connection:
2
  # Extract DB file from ZIP to disk as "temp.db"
3
  with zipfile.ZipFile(zip_path) as z:
 
1
+ import gradio as gr
2
+ import zipfile
3
+ import sqlite3
4
+ import os
5
+
6
  def get_connection_from_zip(zip_path: str, db_filename: str) -> sqlite3.Connection:
7
  # Extract DB file from ZIP to disk as "temp.db"
8
  with zipfile.ZipFile(zip_path) as z: