Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 3 |
# Import your existing functions
|
| 4 |
from src import search_on_web, search_custom_sites, search_custom_domain
|
| 5 |
-
|
| 6 |
|
| 7 |
def run_search_on_web(query: str):
|
| 8 |
try:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import os
|
| 3 |
# Import your existing functions
|
| 4 |
from src import search_on_web, search_custom_sites, search_custom_domain
|
| 5 |
+
os.environ["OPENAI_BASE_URL"] = "https://xenobd-fq3-c-4b-q4-llamacpp.hf.space/v1"
|
| 6 |
|
| 7 |
def run_search_on_web(query: str):
|
| 8 |
try:
|