Spaces:
Build error
Build error
Commit
·
67909d8
1
Parent(s):
7a1deb2
remove sleep after the fix
Browse files
app.py
CHANGED
|
@@ -169,9 +169,6 @@ class SpaceBuilder:
|
|
| 169 |
print(ex)
|
| 170 |
cls.error_message = "An exception occurred during temporary file writing"
|
| 171 |
return False
|
| 172 |
-
|
| 173 |
-
# Sleep a little bit otherwise the interface might not build at the space after uploading a file
|
| 174 |
-
time.sleep(1)
|
| 175 |
try:
|
| 176 |
file_url = upload_file(
|
| 177 |
path_or_fileobj="temp_file.txt",
|
|
|
|
| 169 |
print(ex)
|
| 170 |
cls.error_message = "An exception occurred during temporary file writing"
|
| 171 |
return False
|
|
|
|
|
|
|
|
|
|
| 172 |
try:
|
| 173 |
file_url = upload_file(
|
| 174 |
path_or_fileobj="temp_file.txt",
|