Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import pydantic
|
3 |
from datetime import datetime
|
4 |
-
# from typing import List, Optional, Any, Mapping, TypeVar
|
5 |
from pydantic import BaseModel
|
6 |
-
# from pydantic.main import ModelMetaclass, BaseModel # Modify this import
|
7 |
import semantic_kernel
|
8 |
from plugins.sk_bing_plugin import BingPlugin
|
9 |
from plugins.sk_web_pages_plugin import WebPagesPlugin
|
@@ -13,6 +11,7 @@ import os
|
|
13 |
from web_search_client import WebSearchClient
|
14 |
from web_search_client.models import SafeSearch
|
15 |
from azure.core.credentials import AzureKeyCredential
|
|
|
16 |
# Configure your credentials here
|
17 |
bing_api_key = "..." # Replace with your Bing API key
|
18 |
|
|
|
1 |
import gradio as gr
|
2 |
import pydantic
|
3 |
from datetime import datetime
|
|
|
4 |
from pydantic import BaseModel
|
|
|
5 |
import semantic_kernel
|
6 |
from plugins.sk_bing_plugin import BingPlugin
|
7 |
from plugins.sk_web_pages_plugin import WebPagesPlugin
|
|
|
11 |
from web_search_client import WebSearchClient
|
12 |
from web_search_client.models import SafeSearch
|
13 |
from azure.core.credentials import AzureKeyCredential
|
14 |
+
|
15 |
# Configure your credentials here
|
16 |
bing_api_key = "..." # Replace with your Bing API key
|
17 |
|