Spaces:
Sleeping
Sleeping
Tes OpenAIServerModel
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def run_test( profile: gr.OAuthProfile | None):
|
|
26 |
"""
|
27 |
# 1. Instantiate Agent
|
28 |
try:
|
29 |
-
agent = QAgent()
|
30 |
except Exception as e:
|
31 |
print(f"Error instantiating agent: {e}")
|
32 |
return f"Error initializing agent: {e}", None
|
|
|
26 |
"""
|
27 |
# 1. Instantiate Agent
|
28 |
try:
|
29 |
+
agent = QAgent(model_type = "OpenAIServerModel")
|
30 |
except Exception as e:
|
31 |
print(f"Error instantiating agent: {e}")
|
32 |
return f"Error initializing agent: {e}", None
|