Spaces:
Sleeping
Sleeping
Commit
·
f7b5a30
1
Parent(s):
2502c7d
updated pom file
Browse files
app.py
CHANGED
@@ -38,7 +38,6 @@ llm = GooglePalm()
|
|
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,6 +62,7 @@ elif genre==radioButtonList[3]:
|
|
63 |
input_key="question")
|
64 |
elif genre==radioButtonList[4]:
|
65 |
pdfCSVURLText = "URL"
|
|
|
66 |
urls = [urlInput]
|
67 |
loader = [UnstructuredURLLoader(urls=urls)]
|
68 |
index = VectorstoreIndexCreator(
|
|
|
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 |
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 genre==radioButtonList[4])
|
66 |
urls = [urlInput]
|
67 |
loader = [UnstructuredURLLoader(urls=urls)]
|
68 |
index = VectorstoreIndexCreator(
|