Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -685,9 +685,9 @@ def main():
|
|
685 |
finally:
|
686 |
if os.path.exists(local_path):
|
687 |
shutil.rmtree(local_path)
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
except exceptions.CosmosHttpResponseError as e:
|
692 |
st.error(f"Failed to connect to Cosmos DB. HTTP error: {str(e)} 🚨")
|
693 |
except Exception as e:
|
|
|
685 |
finally:
|
686 |
if os.path.exists(local_path):
|
687 |
shutil.rmtree(local_path)
|
688 |
+
else:
|
689 |
+
st.error("Please ensure GitHub token is set in environment variables and source repository URL is provided. 🔑❓")
|
690 |
+
|
691 |
except exceptions.CosmosHttpResponseError as e:
|
692 |
st.error(f"Failed to connect to Cosmos DB. HTTP error: {str(e)} 🚨")
|
693 |
except Exception as e:
|