Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -491,25 +491,6 @@ models = [
|
|
491 |
explanation_markdown = "".join([f"- **{key}**: {value}\n" for key, value in metaprompt_explanations.items()])
|
492 |
|
493 |
|
494 |
-
import os
|
495 |
-
|
496 |
-
meta_info=""
|
497 |
-
api_token = os.getenv('HF_API_TOKEN')
|
498 |
-
if not api_token:
|
499 |
-
raise ValueError("HF_API_TOKEN not found in environment variables")
|
500 |
-
|
501 |
-
metadone = os.getenv('metadone')
|
502 |
-
prompt_refiner_model = os.getenv('prompt_refiner_model')
|
503 |
-
echo_prompt_refiner = os.getenv('echo_prompt_refiner')
|
504 |
-
metaprompt1 = os.getenv('metaprompt1')
|
505 |
-
loic_metaprompt = os.getenv('loic_metaprompt')
|
506 |
-
openai_metaprompt = os.getenv('openai_metaprompt')
|
507 |
-
original_meta_prompt = os.getenv('original_meta_prompt')
|
508 |
-
new_meta_prompt = os.getenv('new_meta_prompt')
|
509 |
-
advanced_meta_prompt = os.getenv('advanced_meta_prompt')
|
510 |
-
math_meta_prompt = os.getenv('metamath')
|
511 |
-
autoregressive_metaprompt = os.getenv('autoregressive_metaprompt')
|
512 |
-
|
513 |
|
514 |
if __name__ == '__main__':
|
515 |
meta_info=""
|
|
|
491 |
explanation_markdown = "".join([f"- **{key}**: {value}\n" for key, value in metaprompt_explanations.items()])
|
492 |
|
493 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
|
495 |
if __name__ == '__main__':
|
496 |
meta_info=""
|