Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
import semantic_kernel
|
| 3 |
from plugins.sk_bing_plugin import BingPlugin
|
| 4 |
from plugins.sk_web_pages_plugin import WebPagesPlugin
|
| 5 |
from planning.autogen_planner import AutoGenPlanner
|
| 6 |
from typing_extensions import Protocol, runtime_checkable
|
| 7 |
-
from pydantic import BaseModel
|
| 8 |
-
|
| 9 |
# Configure your credentials here
|
| 10 |
bing_api_key = "..." # Replace with your Bing API key
|
| 11 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from datetime import datetime
|
| 3 |
+
from typing import List, Optional, Any, Mapping, TypeVar
|
| 4 |
+
import pydantic
|
| 5 |
+
from pydantic import BaseModel, Protocol, ValidationInfo, field_validator,
|
| 6 |
import semantic_kernel
|
| 7 |
from plugins.sk_bing_plugin import BingPlugin
|
| 8 |
from plugins.sk_web_pages_plugin import WebPagesPlugin
|
| 9 |
from planning.autogen_planner import AutoGenPlanner
|
| 10 |
from typing_extensions import Protocol, runtime_checkable
|
|
|
|
|
|
|
| 11 |
# Configure your credentials here
|
| 12 |
bing_api_key = "..." # Replace with your Bing API key
|
| 13 |
|