Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
39146d8
1
Parent(s):
ffea83e
Proper file name
Browse files
app.py
CHANGED
@@ -329,7 +329,7 @@ def run_grounded_sam(
|
|
329 |
|
330 |
def upload_file(img_file):
|
331 |
file_path = os.path.join(UPLOAD_DIR, 'input_image.png')
|
332 |
-
|
333 |
print('file_path = ', file_path)
|
334 |
print('hf_file_path = ', f"https://huggingface.co/spaces/rootglitch/CarVizGradioDemo01/{file_path}")
|
335 |
|
|
|
329 |
|
330 |
def upload_file(img_file):
|
331 |
file_path = os.path.join(UPLOAD_DIR, 'input_image.png')
|
332 |
+
img_file.save(file_path)
|
333 |
print('file_path = ', file_path)
|
334 |
print('hf_file_path = ', f"https://huggingface.co/spaces/rootglitch/CarVizGradioDemo01/{file_path}")
|
335 |
|