Spaces:
Sleeping
Sleeping
Update app.py
Browse files123456789101112import osimport gradio as grimport requestsimport pandas as pdfrom agent import GaiaAgentDEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"def run_and_submit_all(profile: gr.OAuthProfile | None):space_id = os.getenv("SPACE_ID")1234567891011121314import osimport gradio as grimport requestsimport pandas as pd # You might not need this if smolagents handles data# import subprocess # REMOVE if using smolagents, this was for the previous workaround# import sys # REMOVE if using smolagents, this was for the previous workaroundfrom agent import GaiaAgentDEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"def run_and_submit_all(profile: gr.OAuthProfile | None):space_id = os.getenv("SPACE_ID")
app.py+4-2