zhiminy commited on
Commit
49865eb
·
1 Parent(s): 1de872d

refine caption

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,7 +26,7 @@ base_url = "https://api.pandalla.ai/v1"
26
  openai_client = OpenAI(api_key=api_key, base_url=base_url)
27
 
28
  # Timeout in seconds for model responses
29
- TIMEOUT = 60
30
 
31
  # Hint string constant
32
  SHOW_HINT_STRING = True # Set to False to hide the hint string altogether
@@ -532,7 +532,7 @@ with gr.Blocks() as app:
532
  - **Interactive Voting**: Engage in multi-turn dialogues with both chatbots and compare their responses. You can continue the conversation until you confidently choose the better model.
533
  - **Fair Play Rules**: Votes are counted only if chatbot identities remain anonymous. Revealing a chatbot's identity disqualifies the session.
534
 
535
- **Note:** Due to budget constraints, responses that take longer than one minute to generate will be discarded.
536
  """,
537
  elem_classes="arena-intro",
538
  )
 
26
  openai_client = OpenAI(api_key=api_key, base_url=base_url)
27
 
28
  # Timeout in seconds for model responses
29
+ TIMEOUT = 90
30
 
31
  # Hint string constant
32
  SHOW_HINT_STRING = True # Set to False to hide the hint string altogether
 
532
  - **Interactive Voting**: Engage in multi-turn dialogues with both chatbots and compare their responses. You can continue the conversation until you confidently choose the better model.
533
  - **Fair Play Rules**: Votes are counted only if chatbot identities remain anonymous. Revealing a chatbot's identity disqualifies the session.
534
 
535
+ **Note:** Due to budget constraints, responses that take longer than {TIMEOUT} seconds to generate will be discarded.
536
  """,
537
  elem_classes="arena-intro",
538
  )