Spaces:
Running
Running
update compressor
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -159,7 +159,7 @@ def main_interface(model_name, sparsity, action):
|
|
159 |
compressed_size = get_model_size(compressed_path)
|
160 |
size_plot = create_size_comparison_plot(original_size, compressed_size)
|
161 |
|
162 |
-
return
|
163 |
finally:
|
164 |
# Clean up temporary file
|
165 |
if os.path.exists(temp_path):
|
|
|
159 |
compressed_size = get_model_size(compressed_path)
|
160 |
size_plot = create_size_comparison_plot(original_size, compressed_size)
|
161 |
|
162 |
+
return size_plot
|
163 |
finally:
|
164 |
# Clean up temporary file
|
165 |
if os.path.exists(temp_path):
|
app.py
CHANGED
@@ -159,7 +159,7 @@ def main_interface(model_name, sparsity, action):
|
|
159 |
compressed_size = get_model_size(compressed_path)
|
160 |
size_plot = create_size_comparison_plot(original_size, compressed_size)
|
161 |
|
162 |
-
return
|
163 |
finally:
|
164 |
# Clean up temporary file
|
165 |
if os.path.exists(temp_path):
|
|
|
159 |
compressed_size = get_model_size(compressed_path)
|
160 |
size_plot = create_size_comparison_plot(original_size, compressed_size)
|
161 |
|
162 |
+
return size_plot
|
163 |
finally:
|
164 |
# Clean up temporary file
|
165 |
if os.path.exists(temp_path):
|