jybae commited on
Commit
9964f2b
1 Parent(s): 4e32567

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -19
app.py CHANGED
@@ -1,25 +1,8 @@
1
  import gradio as gr
2
- import openai
3
- import unstructured
4
- import plotly
5
- import langchain
6
  import tiktoken
7
- import matplotlib
8
  import pickle
9
- from linkify_it import LinkifyIt
10
-
11
- import numpy as np
12
- import os, random
13
- from pathlib import Path
14
- import tiktoken
15
- from getpass import getpass
16
- from rich.markdown import Markdown
17
- from langchain.chains.qa_with_sources import load_qa_with_sources_chain
18
-
19
- import torch
20
- import sys
21
- import csv
22
 
 
23
  from langchain_openai import OpenAIEmbeddings
24
  from langchain_openai import ChatOpenAI
25
 
@@ -95,4 +78,4 @@ demo = gr.Interface(fn=greet, title="cicero-semantic-search", inputs="text",
95
  gr.components.Textbox(lines=3, label="Evaluation")],
96
  examples=examples)
97
 
98
- demo.launch(share=True)
 
1
  import gradio as gr
 
 
 
 
2
  import tiktoken
 
3
  import pickle
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
+ import os
6
  from langchain_openai import OpenAIEmbeddings
7
  from langchain_openai import ChatOpenAI
8
 
 
78
  gr.components.Textbox(lines=3, label="Evaluation")],
79
  examples=examples)
80
 
81
+ demo.launch(share=True)