Xenobd commited on
Commit
ee46cd0
·
verified ·
1 Parent(s): e19b252

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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: