Spaces:
Sleeping
Sleeping
arun3676 commited on
Commit Β·
bc5f5e7
1
Parent(s): 76e89b2
Enhanced: Update instructions to include GitHub Repository analysis mode
Browse files- matrix_app.py +10 -2
matrix_app.py
CHANGED
|
@@ -599,21 +599,29 @@ with col2:
|
|
| 599 |
display_matrix_analysis_result(result, available_models[selected_model])
|
| 600 |
|
| 601 |
# Instructions for new users
|
| 602 |
-
if not code_input.strip() and not analyze_button:
|
| 603 |
st.markdown("""
|
| 604 |
<div class="matrix-terminal" style="margin: 20px 0;">
|
| 605 |
<h3 style="color: #00ff41; text-align: center;">π’ WELCOME TO THE MATRIX π’</h3>
|
| 606 |
<p style="color: #00ff41; font-family: 'Share Tech Mono', monospace;">
|
| 607 |
> SYSTEM_STATUS: ONLINE<br>
|
| 608 |
> NEURAL_NETWORKS: READY<br>
|
| 609 |
-
>
|
|
|
|
| 610 |
|
| 611 |
<strong>INITIALIZATION_PROTOCOL:</strong><br>
|
|
|
|
| 612 |
1. PASTE_CODE β Left terminal<br>
|
| 613 |
2. SELECT_NEURAL_NETWORK β Control panel<br>
|
| 614 |
3. INITIATE_SCAN β Begin analysis<br>
|
| 615 |
4. REVIEW_RESULTS β Right terminal<br><br>
|
| 616 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 617 |
<em>The Matrix has you... but now you have the power to analyze it. π’</em>
|
| 618 |
</p>
|
| 619 |
</div>
|
|
|
|
| 599 |
display_matrix_analysis_result(result, available_models[selected_model])
|
| 600 |
|
| 601 |
# Instructions for new users
|
| 602 |
+
if (analysis_mode == "Code Analysis" and not code_input.strip() and not analyze_button) or (analysis_mode == "GitHub Repository" and 'github_url' not in locals()):
|
| 603 |
st.markdown("""
|
| 604 |
<div class="matrix-terminal" style="margin: 20px 0;">
|
| 605 |
<h3 style="color: #00ff41; text-align: center;">π’ WELCOME TO THE MATRIX π’</h3>
|
| 606 |
<p style="color: #00ff41; font-family: 'Share Tech Mono', monospace;">
|
| 607 |
> SYSTEM_STATUS: ONLINE<br>
|
| 608 |
> NEURAL_NETWORKS: READY<br>
|
| 609 |
+
> ANALYSIS_MODES: CODE_SCAN β’ REPOSITORY_SCAN<br>
|
| 610 |
+
> AWAITING_INPUT...<br><br>
|
| 611 |
|
| 612 |
<strong>INITIALIZATION_PROTOCOL:</strong><br>
|
| 613 |
+
π CODE_ANALYSIS_MODE:<br>
|
| 614 |
1. PASTE_CODE β Left terminal<br>
|
| 615 |
2. SELECT_NEURAL_NETWORK β Control panel<br>
|
| 616 |
3. INITIATE_SCAN β Begin analysis<br>
|
| 617 |
4. REVIEW_RESULTS β Right terminal<br><br>
|
| 618 |
|
| 619 |
+
π¦ GITHUB_REPOSITORY_MODE:<br>
|
| 620 |
+
1. ENTER_REPOSITORY_URL β Left terminal<br>
|
| 621 |
+
2. SELECT_NEURAL_NETWORK β Control panel<br>
|
| 622 |
+
3. SCAN_REPOSITORY β Begin analysis<br>
|
| 623 |
+
4. REVIEW_RESULTS β Right terminal<br><br>
|
| 624 |
+
|
| 625 |
<em>The Matrix has you... but now you have the power to analyze it. π’</em>
|
| 626 |
</p>
|
| 627 |
</div>
|