Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,14 @@
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
import requests
|
4 |
-
import pandas as pd
|
|
|
|
|
|
|
5 |
from agent import GaiaAgent
|
6 |
|
7 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
8 |
|
9 |
-
|
10 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
11 |
space_id = os.getenv("SPACE_ID")
|
12 |
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
import requests
|
4 |
+
import pandas as pd # You might not need this if smolagents handles data
|
5 |
+
# import subprocess # REMOVE if using smolagents, this was for the previous workaround
|
6 |
+
# import sys # REMOVE if using smolagents, this was for the previous workaround
|
7 |
+
|
8 |
from agent import GaiaAgent
|
9 |
|
10 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
11 |
|
|
|
12 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
13 |
space_id = os.getenv("SPACE_ID")
|
14 |
|