Spaces:
Runtime error
Runtime error
wvipwvpiophjiovwcoeidhhcdpsoichjv
Browse filesopjvwopdsjsop

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) *
|
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")
|