markytools commited on
Commit
2502c7d
·
1 Parent(s): d2872d0

updated pom file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,6 +38,7 @@ llm = GooglePalm()
38
  llm.temperature = 0.1
39
 
40
  pdfCSVURLText = ""
 
41
  if genre==radioButtonList[0]:
42
  pdfCSVURLText = "CSV"
43
  dataDF = pd.read_csv('EcommerceDataset.csv', encoding= 'unicode_escape')
@@ -62,7 +63,6 @@ elif genre==radioButtonList[3]:
62
  input_key="question")
63
  elif genre==radioButtonList[4]:
64
  pdfCSVURLText = "URL"
65
- urlInput = st.text_input('Enter your own URL', '', placeholder="Type your URL here (e.g. https://abc.xyz/investor/)", disabled=not isCustomURL)
66
  urls = [urlInput]
67
  loader = [UnstructuredURLLoader(urls=urls)]
68
  index = VectorstoreIndexCreator(
 
38
  llm.temperature = 0.1
39
 
40
  pdfCSVURLText = ""
41
+ urlInput = st.text_input('Enter your own URL', '', placeholder="Type your URL here (e.g. https://abc.xyz/investor/)", disabled=not genre==radioButtonList[4])
42
  if genre==radioButtonList[0]:
43
  pdfCSVURLText = "CSV"
44
  dataDF = pd.read_csv('EcommerceDataset.csv', encoding= 'unicode_escape')
 
63
  input_key="question")
64
  elif genre==radioButtonList[4]:
65
  pdfCSVURLText = "URL"
 
66
  urls = [urlInput]
67
  loader = [UnstructuredURLLoader(urls=urls)]
68
  index = VectorstoreIndexCreator(