naman1102 commited on
Commit
3a19ca5
Β·
1 Parent(s): 9a9c028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -0
app.py CHANGED
@@ -755,6 +755,32 @@ def create_ui() -> gr.Blocks:
755
  """
756
  )
757
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
758
  with gr.Row():
759
  close_help_btn = gr.Button("βœ… Got It, Let's Start!", variant="primary", size="lg")
760
 
 
755
  """
756
  )
757
 
758
+ with gr.Accordion("⚠️ Important Notice: Server Startup Times", open=True):
759
+ gr.Markdown(
760
+ """
761
+ <div style="background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%); padding: 15px; border-radius: 12px; margin: 10px 0;">
762
+ <h3 style="color: white; margin: 0 0 10px 0; font-size: 1.3rem;">πŸ• Model Response Times</h3>
763
+ <p style="color: white; margin: 0; font-size: 1rem; line-height: 1.5;">
764
+ <strong>If the AI model takes longer than 5 minutes to respond:</strong><br/>
765
+ πŸ“‘ The servers are starting up from sleep mode<br/>
766
+ ⏳ This happens when the service hasn't been used recently<br/>
767
+ πŸš€ Once live, responses will be fast and smooth<br/>
768
+ πŸ’ Thank you for your patience!
769
+ </p>
770
+ </div>
771
+
772
+ ### **What to Expect**
773
+ - **First request**: May take 3-7 minutes (server startup)
774
+ - **Subsequent requests**: Fast responses (10-30 seconds)
775
+ - **If timeout occurs**: Simply retry your request
776
+
777
+ ### **Best Practices During Startup**
778
+ - Start with a simple conversation or small repository list
779
+ - Avoid analyzing many repositories simultaneously on first use
780
+ - Once the first response comes through, normal speed resumes
781
+ """
782
+ )
783
+
784
  with gr.Row():
785
  close_help_btn = gr.Button("βœ… Got It, Let's Start!", variant="primary", size="lg")
786