Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,8 @@ import requests
|
|
| 5 |
from bs4 import BeautifulSoup
|
| 6 |
|
| 7 |
# Initialize the text generation pipeline
|
| 8 |
-
pipe = pipeline("text-generation", model="
|
| 9 |
-
client = InferenceClient("
|
| 10 |
|
| 11 |
def web_search(query):
|
| 12 |
# Simulate a web search using Google
|
|
|
|
| 5 |
from bs4 import BeautifulSoup
|
| 6 |
|
| 7 |
# Initialize the text generation pipeline
|
| 8 |
+
#pipe = pipeline("text-generation", model="", trust_remote_code=True)
|
| 9 |
+
client = InferenceClient("microsoft/Phi-3-mini-4k-instruct")
|
| 10 |
|
| 11 |
def web_search(query):
|
| 12 |
# Simulate a web search using Google
|