Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ app_path = hf_hub_download(
|
|
| 53 |
)
|
| 54 |
|
| 55 |
# Load and execute `app.py`
|
| 56 |
-
spec_app = importlib.util.spec_from_file_location("*",
|
| 57 |
app_module = importlib.util.module_from_spec(spec_app)
|
| 58 |
spec_app.loader.exec_module(app_module)
|
| 59 |
# Now you can use functions from utils_module
|
|
|
|
| 53 |
)
|
| 54 |
|
| 55 |
# Load and execute `app.py`
|
| 56 |
+
spec_app = importlib.util.spec_from_file_location("*", app_path)
|
| 57 |
app_module = importlib.util.module_from_spec(spec_app)
|
| 58 |
spec_app.loader.exec_module(app_module)
|
| 59 |
# Now you can use functions from utils_module
|