vishalj0501 commited on
Commit
5b8c0c6
1 Parent(s): 9ea2c29

remove os & unused methods

Browse files
Files changed (1) hide show
  1. app.py +0 -20
app.py CHANGED
@@ -9,17 +9,10 @@ from langchain.output_parsers import OutputFixingParser
9
  from langchain.schema import OutputParserException
10
 
11
  import pinecone
12
- import os
13
- from dotenv import load_dotenv
14
  import json
15
 
16
  model_name = 'text-embedding-ada-002'
17
 
18
- load_dotenv()
19
-
20
-
21
-
22
-
23
  st.title("ICD DEMO")
24
 
25
 
@@ -101,19 +94,6 @@ For example, below is the sample output:
101
  }
102
  """
103
 
104
- def iterate_output(lis):
105
- text=""
106
- for i in lis:
107
- text += str(json.dumps(i, indent = 3))+",\n"
108
- return text
109
-
110
- def stringFormatterByAlok(inputString):
111
- newData = ""
112
- for i in inputString:
113
- newData += i + "\n"
114
- return newData
115
-
116
-
117
  if "messages" not in st.session_state:
118
  st.session_state.messages = []
119
 
 
9
  from langchain.schema import OutputParserException
10
 
11
  import pinecone
 
 
12
  import json
13
 
14
  model_name = 'text-embedding-ada-002'
15
 
 
 
 
 
 
16
  st.title("ICD DEMO")
17
 
18
 
 
94
  }
95
  """
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  if "messages" not in st.session_state:
98
  st.session_state.messages = []
99