0Learn commited on
Commit
534059b
·
verified ·
1 Parent(s): 433ba72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -18
app.py CHANGED
@@ -14,6 +14,18 @@ game_state = {
14
  "timer_active": False
15
  }
16
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  # Updated Question bank
18
  questions = [
19
  {
@@ -294,24 +306,6 @@ questions = [
294
  }
295
  ]
296
 
297
- # Rest of the code remains the same...
298
-
299
- # (Include all the previous functions and Gradio interface code here)
300
-
301
- demo.launch()
302
-
303
- # Money levels
304
- money_levels = [100, 200, 300, 500, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 125000, 250000, 500000, 1000000]
305
-
306
- # Timer prompts
307
- timer_prompts = [
308
- "Tick tock! 50 seconds left. No pressure, but also... lots of pressure!",
309
- "40 seconds remaining. Is that your final answer? (No, seriously, is it?)",
310
- "30 seconds on the clock! Time flies when you're trying to be a millionaire!",
311
- "20 seconds left! Don't let the clock psyche you out!",
312
- "Only 10 seconds remaining! Quick, phone a fr... oh wait, wrong lifeline!",
313
- ]
314
-
315
  def start_timer():
316
  game_state["timer"] = 60
317
  game_state["timer_active"] = True
 
14
  "timer_active": False
15
  }
16
 
17
+ # Money levels
18
+ money_levels = [100, 200, 300, 500, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 125000, 250000, 500000, 1000000]
19
+
20
+ # Timer prompts
21
+ timer_prompts = [
22
+ "Tick tock! 50 seconds left. No pressure, but also... lots of pressure!",
23
+ "40 seconds remaining. Is that your final answer? (No, seriously, is it?)",
24
+ "30 seconds on the clock! Time flies when you're trying to be a millionaire!",
25
+ "20 seconds left! Don't let the clock psyche you out!",
26
+ "Only 10 seconds remaining! Quick, phone a fr... oh wait, wrong lifeline!",
27
+ ]
28
+
29
  # Updated Question bank
30
  questions = [
31
  {
 
306
  }
307
  ]
308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  def start_timer():
310
  game_state["timer"] = 60
311
  game_state["timer_active"] = True