Update app.py
Browse files
app.py
CHANGED
|
@@ -39,6 +39,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 39 |
repo_id=REPO_ID,
|
| 40 |
huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
|
| 41 |
)
|
|
|
|
| 42 |
agent = BasicAgent(llm)
|
| 43 |
except Exception as e:
|
| 44 |
print(f"Error instantiating agent: {e}")
|
|
|
|
| 39 |
repo_id=REPO_ID,
|
| 40 |
huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
|
| 41 |
)
|
| 42 |
+
llm=ChatOpenAI(model="gpt-4o")
|
| 43 |
agent = BasicAgent(llm)
|
| 44 |
except Exception as e:
|
| 45 |
print(f"Error instantiating agent: {e}")
|