FractalAIR commited on
Commit
6b3a0d2
·
verified ·
1 Parent(s): 08d1d51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -88,9 +88,9 @@ def generate_response(user_message, max_tokens, temperature, top_p, history_stat
88
 
89
  example_messages = {
90
  "JEE Main 2025 Combinatorics": "From all the English alphabets, five letters are chosen and are arranged in alphabetical order. The total number of ways, in which the middle letter is 'M', is?",
91
- "JEE Main 2025 Co-ordinate Geometry": "A circle \\(C\\) of radius 2 lies in the second quadrant and touches both the coordinate axes. Let \\(r\\) be the radius of a circle that has centre at the point \\((2, 5)\\) and intersects the circle \\(C\\) at exactly two points. If the set of all possible values of \\(r\\) is the interval \\((\\alpha, \\beta)\\), then \\(3\\beta - 2\\alpha\\) is?",
92
- "JEE Main 2025 Prob-Stats": "A coin is tossed three times. Let \(X\) denote the number of times a tail follows a head. If \\(\\mu\\) and \\(\\sigma^2\\) denote the mean and variance of \\(X\\), then the value of \\(64(\\mu + \\sigma^2)\\) is?",
93
- "JEE Main 2025 Physics": "A massless spring gets elongated by amount x_1 under a tension of 5 N . Its elongation is x_2 under the tension of 7 N . For the elongation of 5x_1 - 2x_2 , the tension in the spring will be?"
94
  }
95
 
96
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
@@ -132,9 +132,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
132
  gr.Markdown("**Try these examples:**")
133
  with gr.Row():
134
  example1_button = gr.Button("JEE Main 2025 Combinatorics")
135
- example2_button = gr.Button("JEE Main 2025 Co-ordinate Geometry")
136
- example3_button = gr.Button("JEE Main 2025 Prob-Stats")
137
- example4_button = gr.Button("JEE Main 2025 Physics")
138
 
139
  def update_conversation_list():
140
  return [conversations[cid]["title"] for cid in conversations]
 
88
 
89
  example_messages = {
90
  "JEE Main 2025 Combinatorics": "From all the English alphabets, five letters are chosen and are arranged in alphabetical order. The total number of ways, in which the middle letter is 'M', is?",
91
+ "JEE Main 2025 Coordinate Geometry": "A circle \\(C\\) of radius 2 lies in the second quadrant and touches both the coordinate axes. Let \\(r\\) be the radius of a circle that has centre at the point \\((2, 5)\\) and intersects the circle \\(C\\) at exactly two points. If the set of all possible values of \\(r\\) is the interval \\((\\alpha, \\beta)\\), then \\(3\\beta - 2\\alpha\\) is?",
92
+ "JEE Main 2025 Probability & Statistics": "A coin is tossed three times. Let \(X\) denote the number of times a tail follows a head. If \\(\\mu\\) and \\(\\sigma^2\\) denote the mean and variance of \\(X\\), then the value of \\(64(\\mu + \\sigma^2)\\) is?",
93
+ "JEE Main 2025 Laws of Motion": "A massless spring gets elongated by amount x_1 under a tension of 5 N . Its elongation is x_2 under the tension of 7 N . For the elongation of 5x_1 - 2x_2 , the tension in the spring will be?"
94
  }
95
 
96
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
 
132
  gr.Markdown("**Try these examples:**")
133
  with gr.Row():
134
  example1_button = gr.Button("JEE Main 2025 Combinatorics")
135
+ example2_button = gr.Button("JEE Main 2025 Coordinate Geometry")
136
+ example3_button = gr.Button("JEE Main 2025 Probability & Statistics")
137
+ example4_button = gr.Button("JEE Main 2025 Laws of Motion")
138
 
139
  def update_conversation_list():
140
  return [conversations[cid]["title"] for cid in conversations]