Trial and error.
Browse files
app.py
CHANGED
|
@@ -16,7 +16,6 @@ class BasicAgent:
|
|
| 16 |
def __init__(self):
|
| 17 |
print("BasicAgent initialized.")
|
| 18 |
|
| 19 |
-
print("Loading huggingface default model...")
|
| 20 |
self.client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.getenv("OR_TOKEN"))
|
| 21 |
|
| 22 |
def __call__(self, question: str) -> str:
|
|
@@ -196,7 +195,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 196 |
|
| 197 |
# --- Build Gradio Interface using Blocks ---
|
| 198 |
with gr.Blocks() as demo:
|
| 199 |
-
gr.Markdown("# Basic Agent Evaluation Runner
|
| 200 |
gr.Markdown(
|
| 201 |
"""
|
| 202 |
**Instructions:**
|
|
|
|
| 16 |
def __init__(self):
|
| 17 |
print("BasicAgent initialized.")
|
| 18 |
|
|
|
|
| 19 |
self.client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.getenv("OR_TOKEN"))
|
| 20 |
|
| 21 |
def __call__(self, question: str) -> str:
|
|
|
|
| 195 |
|
| 196 |
# --- Build Gradio Interface using Blocks ---
|
| 197 |
with gr.Blocks() as demo:
|
| 198 |
+
gr.Markdown("# Basic Agent Evaluation Runner")
|
| 199 |
gr.Markdown(
|
| 200 |
"""
|
| 201 |
**Instructions:**
|