Spaces:
Runtime error
Runtime error
Removed whitespaces
#12
by
sanketmalde
- opened
app.py
CHANGED
|
@@ -16,7 +16,6 @@ from langchain.agents import AgentType
|
|
| 16 |
from langchain.tools import Tool
|
| 17 |
from langchain.utilities import GoogleSearchAPIWrapper
|
| 18 |
|
| 19 |
-
|
| 20 |
openai.api_key = os.environ['OPENAI_API_KEY']
|
| 21 |
|
| 22 |
def save_docs_to_jsonl(array:Iterable[Document], file_path:str)->None:
|
|
@@ -130,6 +129,3 @@ with gr.Blocks(theme='samayg/StriimTheme', css=CSS) as demo:
|
|
| 130 |
if __name__ == "__main__":
|
| 131 |
# demo.launch(debug=True)
|
| 132 |
demo.launch(debug=True, share=True)
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
|
|
|
| 16 |
from langchain.tools import Tool
|
| 17 |
from langchain.utilities import GoogleSearchAPIWrapper
|
| 18 |
|
|
|
|
| 19 |
openai.api_key = os.environ['OPENAI_API_KEY']
|
| 20 |
|
| 21 |
def save_docs_to_jsonl(array:Iterable[Document], file_path:str)->None:
|
|
|
|
| 129 |
if __name__ == "__main__":
|
| 130 |
# demo.launch(debug=True)
|
| 131 |
demo.launch(debug=True, share=True)
|
|
|
|
|
|
|
|
|