Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -576,9 +576,9 @@ def main():
|
|
| 576 |
finally:
|
| 577 |
if os.path.exists(local_path):
|
| 578 |
shutil.rmtree(local_path)
|
| 579 |
-
|
| 580 |
-
|
| 581 |
-
|
| 582 |
except exceptions.CosmosHttpResponseError as e:
|
| 583 |
st.error(f"Failed to connect to Cosmos DB. HTTP error: {str(e)} 🚨")
|
| 584 |
except Exception as e:
|
|
|
|
| 576 |
finally:
|
| 577 |
if os.path.exists(local_path):
|
| 578 |
shutil.rmtree(local_path)
|
| 579 |
+
else:
|
| 580 |
+
st.error("Please ensure GitHub token is set in environment variables and source repository URL is provided. 🔑❓")
|
| 581 |
+
|
| 582 |
except exceptions.CosmosHttpResponseError as e:
|
| 583 |
st.error(f"Failed to connect to Cosmos DB. HTTP error: {str(e)} 🚨")
|
| 584 |
except Exception as e:
|