Spaces:
Sleeping
Sleeping
oceansweep
commited on
Commit
•
a0fc051
1
Parent(s):
704ae48
Update app.py
Browse files
app.py
CHANGED
@@ -664,19 +664,6 @@ if __name__ == "__main__":
|
|
664 |
# Logging setup
|
665 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
666 |
|
667 |
-
# Load Config
|
668 |
-
loaded_config_data = load_and_log_configs()
|
669 |
-
|
670 |
-
if loaded_config_data:
|
671 |
-
logging.info("Main: Configuration loaded successfully")
|
672 |
-
# You can access the configuration data like this:
|
673 |
-
# print(f"OpenAI API Key: {config_data['api_keys']['openai']}")
|
674 |
-
# print(f"Anthropic Model: {config_data['models']['anthropic']}")
|
675 |
-
# print(f"Kobold API IP: {config_data['local_apis']['kobold']['ip']}")
|
676 |
-
# print(f"Output Path: {config_data['output_path']}")
|
677 |
-
# print(f"Processing Choice: {config_data['processing_choice']}")
|
678 |
-
else:
|
679 |
-
print("Failed to load configuration")
|
680 |
|
681 |
# Print ascii_art
|
682 |
print_hello()
|
|
|
664 |
# Logging setup
|
665 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
666 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
667 |
|
668 |
# Print ascii_art
|
669 |
print_hello()
|