Spaces:
Sleeping
Sleeping
Commit ·
27b5c7e
1
Parent(s): e28fa28
Subindo arquivos8
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import zipfile
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
def process_onnx(uploaded_file):
|
| 8 |
-
# Check if the uploaded file is a zip file
|
| 9 |
if zipfile.is_zipfile(uploaded_file.name):
|
| 10 |
with zipfile.ZipFile(uploaded_file.name, 'r') as zip_ref:
|
| 11 |
zip_ref.extractall("/tmp")
|
|
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
def process_onnx(uploaded_file):
|
| 8 |
+
# Check if the uploaded file is a zip file ###
|
| 9 |
if zipfile.is_zipfile(uploaded_file.name):
|
| 10 |
with zipfile.ZipFile(uploaded_file.name, 'r') as zip_ref:
|
| 11 |
zip_ref.extractall("/tmp")
|
requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
gradio
|
| 2 |
onnx
|
|
|
|
| 1 |
+
gradio==4.29.0 #
|
| 2 |
onnx
|