Sonu313131 commited on
Commit
89b494b
·
verified ·
1 Parent(s): 982d65d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -142,7 +142,7 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
142
  response.raise_for_status()
143
  questions_data = response.json()
144
 
145
- selected_indices = [0, 2, 4, 6, 10, 12, 14, 15] # Replace with the indices you want
146
  questions_data = [questions_data[i] for i in selected_indices if i < len(questions_data)]
147
 
148
  if not questions_data:
@@ -178,9 +178,6 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
178
 
179
  DO NOT provide any explanation or context. Just the line: FINAL ANSWER: ...
180
 
181
- Example question: Who did the actor who played Ray in the Polish-language version of Everybody Loves Raymond play in Magda M.? Give only the first name.
182
- thought: I must search who played "Ray" in polish version of everybody loves raymond. After I find that actors name, I must search for what character he played in Magda M.
183
- example answer: Wojciech
184
  """
185
  )
186
  full_prompt = system_prompt + f"Question: {question_text.strip()}"
 
142
  response.raise_for_status()
143
  questions_data = response.json()
144
 
145
+ selected_indices = [0, 2, 4, 6, 7, 10, 14, 15] # Replace with the indices you want
146
  questions_data = [questions_data[i] for i in selected_indices if i < len(questions_data)]
147
 
148
  if not questions_data:
 
178
 
179
  DO NOT provide any explanation or context. Just the line: FINAL ANSWER: ...
180
 
 
 
 
181
  """
182
  )
183
  full_prompt = system_prompt + f"Question: {question_text.strip()}"