Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -497,8 +497,8 @@ def main():
|
|
| 497 |
finally:
|
| 498 |
if os.path.exists(local_path):
|
| 499 |
shutil.rmtree(local_path)
|
| 500 |
-
else:
|
| 501 |
-
st.error("Please ensure GitHub token is set in environment variables and source repository URL is provided. 🔑❓")
|
| 502 |
|
| 503 |
except exceptions.CosmosHttpResponseError as e:
|
| 504 |
st.error(f"Failed to connect to Cosmos DB. HTTP error: {str(e)} 🚨")
|
|
|
|
| 497 |
finally:
|
| 498 |
if os.path.exists(local_path):
|
| 499 |
shutil.rmtree(local_path)
|
| 500 |
+
#else:
|
| 501 |
+
#st.error("Please ensure GitHub token is set in environment variables and source repository URL is provided. 🔑❓")
|
| 502 |
|
| 503 |
except exceptions.CosmosHttpResponseError as e:
|
| 504 |
st.error(f"Failed to connect to Cosmos DB. HTTP error: {str(e)} 🚨")
|