TilanB commited on
Commit
ba6e1a9
·
verified ·
1 Parent(s): ca6762d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -23,7 +23,7 @@ from configuration import definitions, parameters
23
 
24
  # Rate limiting configuration - 3 requests per hour per IP
25
  WINDOW_S = 3600
26
- MAX_CALLS = 3
27
  _calls = defaultdict(deque) # ip -> timestamps
28
  _calls_lock = threading.Lock() # Thread-safe access to rate limit state
29
 
@@ -52,7 +52,7 @@ EXAMPLES = {
52
  "file_paths": ["samples/OIT-NASK-IAGen_WP140_web.pdf"]
53
  },
54
  "Energy and AI": {
55
- "question": "What is the accuracy of AI models in coding?",
56
  "file_paths": ["samples/EnergyandAI.pdf"]
57
  },
58
  "Digital Progress and Trends Report 2025": {
 
23
 
24
  # Rate limiting configuration - 3 requests per hour per IP
25
  WINDOW_S = 3600
26
+ MAX_CALLS = 5
27
  _calls = defaultdict(deque) # ip -> timestamps
28
  _calls_lock = threading.Lock() # Thread-safe access to rate limit state
29
 
 
52
  "file_paths": ["samples/OIT-NASK-IAGen_WP140_web.pdf"]
53
  },
54
  "Energy and AI": {
55
+ "question": "Explain electricity consumption across different AI model types?",
56
  "file_paths": ["samples/EnergyandAI.pdf"]
57
  },
58
  "Digital Progress and Trends Report 2025": {