ptoloudis commited on
Commit
d67e4f0
·
verified ·
1 Parent(s): 5148b21

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -6,7 +6,6 @@ import pandas as pd
6
 
7
  from agent import GaiaAgent, DEFAULT_API_URL
8
 
9
- @spaces.GPU
10
  def run_and_submit_all( profile: gr.OAuthProfile | None):
11
  """
12
  Fetches all questions, runs the GaiaAgent on them, submits all answers,
@@ -160,7 +159,6 @@ with gr.Blocks() as demo:
160
  )
161
 
162
  if __name__ == "__main__":
163
- demo.launch(ssr_mode=False, debug=True)
164
  print("\n" + "-"*30 + " App Starting " + "-"*30)
165
  # Check for SPACE_HOST and SPACE_ID at startup for information
166
  space_host_startup = os.getenv("SPACE_HOST")
@@ -182,4 +180,4 @@ if __name__ == "__main__":
182
  print("-"*(60 + len(" App Starting ")) + "\n")
183
 
184
  print("Launching Gradio Interface for Basic Agent Evaluation...")
185
- demo.launch(debug=True, share=False)
 
6
 
7
  from agent import GaiaAgent, DEFAULT_API_URL
8
 
 
9
  def run_and_submit_all( profile: gr.OAuthProfile | None):
10
  """
11
  Fetches all questions, runs the GaiaAgent on them, submits all answers,
 
159
  )
160
 
161
  if __name__ == "__main__":
 
162
  print("\n" + "-"*30 + " App Starting " + "-"*30)
163
  # Check for SPACE_HOST and SPACE_ID at startup for information
164
  space_host_startup = os.getenv("SPACE_HOST")
 
180
  print("-"*(60 + len(" App Starting ")) + "\n")
181
 
182
  print("Launching Gradio Interface for Basic Agent Evaluation...")
183
+ demo.launch(ssr_mode=False, debug=True, share=False)