kaikaidai commited on
Commit
2aa1365
·
verified ·
1 Parent(s): 75ab99c

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,7 +10,7 @@ from dotenv import load_dotenv
10
  load_dotenv()
11
 
12
  # Set page config
13
- st.set_page_config(page_title="Meta-ChatGPT", layout="wide")
14
 
15
  # Configuration parameters
16
  QUALITY_THRESHOLD = 4.0 # Threshold for acceptable response quality
@@ -233,7 +233,7 @@ def refine_responses(question: str, model: str, evaluation: Dict) -> Tuple[str,
233
 
234
 
235
  def meta_chat(question: str) -> Dict:
236
- """Process user question through the Meta-ChatGPT system."""
237
  iteration = 0
238
  refinement_history = []
239
 
@@ -403,11 +403,11 @@ def main():
403
 
404
  with col1:
405
  # Display header
406
- st.title("🤖 Meta-ChatGPT with Selene")
407
  st.markdown(
408
  """
409
  This app uses multiple LLMs (GPT-4o, Claude 3.7, and DeepSeekV3.0) to answer your questions.
410
- Selene evaluates each response, and the best one is selected and refined if needed.
411
  """
412
  )
413
 
 
10
  load_dotenv()
11
 
12
  # Set page config
13
+ st.set_page_config(page_title="Meta-GPT", layout="wide")
14
 
15
  # Configuration parameters
16
  QUALITY_THRESHOLD = 4.0 # Threshold for acceptable response quality
 
233
 
234
 
235
  def meta_chat(question: str) -> Dict:
236
+ """Process user question through the Meta-GPT system."""
237
  iteration = 0
238
  refinement_history = []
239
 
 
403
 
404
  with col1:
405
  # Display header
406
+ st.title("🤖 Meta-GPT")
407
  st.markdown(
408
  """
409
  This app uses multiple LLMs (GPT-4o, Claude 3.7, and DeepSeekV3.0) to answer your questions.
410
+ The world's best LLM-as-a-Judge, [Selene](https://www.atla-ai.com/api), evaluates each response, and the best one is selected and refined if needed.
411
  """
412
  )
413