Spaces:
Runtime error
Runtime error
Changed storing folder to gen_sam.
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ if uploaded_file is not None:
|
|
79 |
img_file_name = f"generated_samples/{str(len(os.listdir('generated_samples')))}.png"
|
80 |
|
81 |
_ = upload_file(path_or_fileobj = 'out.png',
|
82 |
-
path_in_repo =
|
83 |
repo_id='AfrodreamsAI/afrodreams',
|
84 |
repo_type='space',
|
85 |
token=HF_TOKEN
|
|
|
79 |
img_file_name = f"generated_samples/{str(len(os.listdir('generated_samples')))}.png"
|
80 |
|
81 |
_ = upload_file(path_or_fileobj = 'out.png',
|
82 |
+
path_in_repo =img_file_name,
|
83 |
repo_id='AfrodreamsAI/afrodreams',
|
84 |
repo_type='space',
|
85 |
token=HF_TOKEN
|