Spaces:
Sleeping
Sleeping
Commit
·
133de1e
1
Parent(s):
e09dc7e
updated pom file
Browse files
app.py
CHANGED
@@ -20,10 +20,23 @@ import pandas as pd
|
|
20 |
import numpy as np
|
21 |
import pprint
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
radioButtonList = ["E-commerce CSV (https://www.kaggle.com/datasets/mervemenekse/ecommerce-dataset)",
|
24 |
"Upload my own CSV",
|
25 |
"Upload my own PDF",
|
26 |
-
"URL Chat with Google Latest Earnings (https://abc.xyz/investor/)",
|
27 |
"Enter my own URL"]
|
28 |
|
29 |
# Add some designs to the radio buttons
|
|
|
20 |
import numpy as np
|
21 |
import pprint
|
22 |
|
23 |
+
# from request
|
24 |
+
#
|
25 |
+
# url = 'https://www.example.com/some_path?some_key=some_value'
|
26 |
+
# parsed_url = urlparse(url)
|
27 |
+
# captured_value = parse_qs(parsed_url.query)['some_key'][0]
|
28 |
+
#
|
29 |
+
# print(captured_value)
|
30 |
+
|
31 |
+
st.write(os.environ['HTTP_HOST'] + os.environ['REQUEST_URI'])
|
32 |
+
|
33 |
+
urlInput = st.text_input('Enter your own URL', '', placeholder="Type your URL here (e.g. https://abc.xyz/investor/)", disabled=not isCustomURL)
|
34 |
+
|
35 |
+
|
36 |
radioButtonList = ["E-commerce CSV (https://www.kaggle.com/datasets/mervemenekse/ecommerce-dataset)",
|
37 |
"Upload my own CSV",
|
38 |
"Upload my own PDF",
|
39 |
+
"URL Chat with Google's Latest Earnings (https://abc.xyz/investor/)",
|
40 |
"Enter my own URL"]
|
41 |
|
42 |
# Add some designs to the radio buttons
|