Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ app_path = hf_hub_download(
|
|
| 57 |
)
|
| 58 |
|
| 59 |
# Load and execute `app.py`
|
| 60 |
-
spec_app = importlib.util.spec_from_file_location("
|
| 61 |
app_module = importlib.util.module_from_spec(spec_app)
|
| 62 |
spec_app.loader.exec_module(app_module)
|
| 63 |
|
|
|
|
| 57 |
)
|
| 58 |
|
| 59 |
# Load and execute `app.py`
|
| 60 |
+
spec_app = importlib.util.spec_from_file_location("*", app_path)
|
| 61 |
app_module = importlib.util.module_from_spec(spec_app)
|
| 62 |
spec_app.loader.exec_module(app_module)
|
| 63 |
|