Corvius commited on
Commit
2438f67
Β·
verified Β·
1 Parent(s): 5bb4746

wvipwvpiophjiovwcoeidhhcdpsoichjv

Browse files

opjvwopdsjsop
![eep.jpg](https://cdn-uploads.huggingface.co/production/uploads/640b6a87a17ad54ebdcce62f/dpPMRfdZgRhMEGEweMiEz.jpeg)

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -81,7 +81,7 @@ def predict(message, history, system_prompt, temperature, top_p, top_k, min_p, t
81
 
82
  api_key_index = 0
83
  retries = 0
84
- max_retries = len(API_KEYS) * 5
85
  partial_message = ""
86
  processing_count = 0
87
  max_processing_attempts = 10
@@ -238,7 +238,7 @@ with gr.Blocks(theme='gradio/monochrome') as demo:
238
  with gr.Row():
239
  with gr.Column(scale=2):
240
  chatbot = gr.Chatbot(value=[])
241
- msg = gr.Textbox(label="Message")
242
  with gr.Row():
243
  clear = gr.Button("Clear")
244
  regenerate = gr.Button("Regenerate")
 
81
 
82
  api_key_index = 0
83
  retries = 0
84
+ max_retries = len(API_KEYS) * 30
85
  partial_message = ""
86
  processing_count = 0
87
  max_processing_attempts = 10
 
238
  with gr.Row():
239
  with gr.Column(scale=2):
240
  chatbot = gr.Chatbot(value=[])
241
+ msg = gr.Textbox(label="Message (expect to wait minutes since the keys are getting 429'd like crazy πŸ’€)")
242
  with gr.Row():
243
  clear = gr.Button("Clear")
244
  regenerate = gr.Button("Regenerate")