Spaces:
Paused
Paused
Commit ·
6e95726
1
Parent(s): 2a5986c
Update main.py
Browse files
main.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import shutil
|
| 3 |
# Define the Gradio interface
|
| 4 |
def extract_zip(filename):
|
| 5 |
-
shutil.unpack_archive("file.zip", '.')
|
| 6 |
|
| 7 |
return "Zip file extracted successfully."
|
| 8 |
|
|
|
|
| 2 |
import shutil
|
| 3 |
# Define the Gradio interface
|
| 4 |
def extract_zip(filename):
|
| 5 |
+
shutil.unpack_archive("./file.zip", '.')
|
| 6 |
|
| 7 |
return "Zip file extracted successfully."
|
| 8 |
|