Update app.py
Browse files
app.py
CHANGED
|
@@ -10,23 +10,6 @@ from langchain_google_genai import ChatGoogleGenerativeAI
|
|
| 10 |
import json
|
| 11 |
import csv
|
| 12 |
|
| 13 |
-
|
| 14 |
-
# --- Constants ---
|
| 15 |
-
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
# --- Basic Agent Definition ---
|
| 19 |
-
import os
|
| 20 |
-
import inspect
|
| 21 |
-
import gradio as gr
|
| 22 |
-
import requests
|
| 23 |
-
import pandas as pd
|
| 24 |
-
from langchain_core.messages import HumanMessage
|
| 25 |
-
from langgraph_agent import build_graph
|
| 26 |
-
from langchain_google_genai import ChatGoogleGenerativeAI
|
| 27 |
-
import json
|
| 28 |
-
import csv
|
| 29 |
-
import ast # Ensure ast is imported if not already in the full file
|
| 30 |
|
| 31 |
|
| 32 |
# --- Constants ---
|
|
|
|
| 10 |
import json
|
| 11 |
import csv
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
# --- Constants ---
|