LONGYKING commited on
Commit
a3ce5eb
·
1 Parent(s): e3b2ea9

removed default chainlit component: chainlit water marks and readme

Browse files
.chainlit/config.toml CHANGED
@@ -77,6 +77,7 @@ hide_cot = false
77
  # Specify a CSS file that can be used to customize the user interface.
78
  # The CSS file can be served from the public directory or via an external link.
79
  # custom_css = "/public/test.css"
 
80
 
81
  # Specify a Javascript file that can be used to customize the user interface.
82
  # The Javascript file can be served from the public directory.
 
77
  # Specify a CSS file that can be used to customize the user interface.
78
  # The CSS file can be served from the public directory or via an external link.
79
  # custom_css = "/public/test.css"
80
+ custom_css = '/public/stylesheet.css'
81
 
82
  # Specify a Javascript file that can be used to customize the user interface.
83
  # The Javascript file can be served from the public directory.
public/stylesheet.css ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ .watermark, .css-1705j0v, .css-1rplq84 {
2
+ display: none!important
3
+ }
requirements.txt CHANGED
@@ -25,15 +25,21 @@ defusedxml==0.7.1
25
  Deprecated==1.2.14
26
  distro==1.9.0
27
  docopt==0.6.2
 
28
  exceptiongroup==1.2.1
29
  executing==2.0.1
30
  fastapi==0.110.3
31
  fastjsonschema==2.19.1
32
  filetype==1.2.0
 
33
  frozenlist==1.4.1
 
 
34
  googleapis-common-protos==1.63.1
 
35
  grpcio==1.64.1
36
  h11==0.14.0
 
37
  httpcore==1.0.5
38
  httpx==0.27.0
39
  idna==3.7
@@ -56,6 +62,7 @@ langsmith==0.1.77
56
  Lazify==0.4.0
57
  literalai==0.0.604
58
  logfire==0.42.0
 
59
  markdown-it-py==3.0.0
60
  MarkupSafe==2.1.5
61
  marshmallow==3.21.3
@@ -63,6 +70,7 @@ matplotlib-inline==0.1.7
63
  mdurl==0.1.2
64
  mistune==3.0.2
65
  multidict==6.0.5
 
66
  mypy-extensions==1.0.0
67
  nbclient==0.10.0
68
  nbconvert==7.16.4
@@ -88,9 +96,12 @@ opentelemetry-semantic-conventions==0.46b0
88
  opentelemetry-util-http==0.46b0
89
  orjson==3.10.5
90
  packaging==23.2
 
91
  pandocfilters==1.5.1
92
  parso==0.8.4
 
93
  pexpect==4.9.0
 
94
  pickleshare==0.7.5
95
  pipdeptree==2.22.0
96
  pipreqs==0.5.0
@@ -101,15 +112,18 @@ psutil==5.9.8
101
  ptyprocess==0.7.0
102
  pure-eval==0.2.2
103
  pydantic==2.7.4
 
104
  pydantic_core==2.18.4
105
  Pygments==2.18.0
106
  PyJWT==2.8.0
 
107
  python-dateutil==2.9.0.post0
108
  python-dotenv==1.0.1
109
  python-engineio==4.9.1
110
  python-multipart==0.0.9
111
  python-socketio==5.11.2
112
  python-ulid==2.6.0
 
113
  PyYAML==6.0.1
114
  pyzmq==26.0.3
115
  redis==5.0.6
@@ -117,8 +131,11 @@ referencing==0.35.1
117
  requests==2.32.3
118
  rich==13.7.1
119
  rpds-py==0.18.1
 
 
120
  simple-websocket==1.0.0
121
  six==1.16.0
 
122
  sniffio==1.3.1
123
  soupsieve==2.5
124
  SQLAlchemy==2.0.30
@@ -131,8 +148,10 @@ tomli==2.0.1
131
  tornado==6.4.1
132
  tqdm==4.66.4
133
  traitlets==5.14.3
 
134
  typing-inspect==0.9.0
135
  typing_extensions==4.12.2
 
136
  ulid==1.1
137
  upstash-redis==1.1.0
138
  uptrace==1.24.0
@@ -145,4 +164,5 @@ wrapt==1.16.0
145
  wsproto==1.2.0
146
  yarg==0.1.9
147
  yarl==1.9.4
 
148
  zipp==3.19.2
 
25
  Deprecated==1.2.14
26
  distro==1.9.0
27
  docopt==0.6.2
28
+ duckduckgo_search==6.1.6
29
  exceptiongroup==1.2.1
30
  executing==2.0.1
31
  fastapi==0.110.3
32
  fastjsonschema==2.19.1
33
  filetype==1.2.0
34
+ frozendict==2.4.4
35
  frozenlist==1.4.1
36
+ gitdb==4.0.11
37
+ GitPython==3.1.43
38
  googleapis-common-protos==1.63.1
39
+ greenlet==3.0.3
40
  grpcio==1.64.1
41
  h11==0.14.0
42
+ html5lib==1.1
43
  httpcore==1.0.5
44
  httpx==0.27.0
45
  idna==3.7
 
62
  Lazify==0.4.0
63
  literalai==0.0.604
64
  logfire==0.42.0
65
+ lxml==5.2.2
66
  markdown-it-py==3.0.0
67
  MarkupSafe==2.1.5
68
  marshmallow==3.21.3
 
70
  mdurl==0.1.2
71
  mistune==3.0.2
72
  multidict==6.0.5
73
+ multitasking==0.0.11
74
  mypy-extensions==1.0.0
75
  nbclient==0.10.0
76
  nbconvert==7.16.4
 
96
  opentelemetry-util-http==0.46b0
97
  orjson==3.10.5
98
  packaging==23.2
99
+ pandas==2.2.2
100
  pandocfilters==1.5.1
101
  parso==0.8.4
102
+ peewee==3.17.5
103
  pexpect==4.9.0
104
+ phidata==2.4.20
105
  pickleshare==0.7.5
106
  pipdeptree==2.22.0
107
  pipreqs==0.5.0
 
112
  ptyprocess==0.7.0
113
  pure-eval==0.2.2
114
  pydantic==2.7.4
115
+ pydantic-settings==2.3.3
116
  pydantic_core==2.18.4
117
  Pygments==2.18.0
118
  PyJWT==2.8.0
119
+ pyreqwest_impersonate==0.4.7
120
  python-dateutil==2.9.0.post0
121
  python-dotenv==1.0.1
122
  python-engineio==4.9.1
123
  python-multipart==0.0.9
124
  python-socketio==5.11.2
125
  python-ulid==2.6.0
126
+ pytz==2024.1
127
  PyYAML==6.0.1
128
  pyzmq==26.0.3
129
  redis==5.0.6
 
131
  requests==2.32.3
132
  rich==13.7.1
133
  rpds-py==0.18.1
134
+ setuptools==70.0.0
135
+ shellingham==1.5.4
136
  simple-websocket==1.0.0
137
  six==1.16.0
138
+ smmap==5.0.1
139
  sniffio==1.3.1
140
  soupsieve==2.5
141
  SQLAlchemy==2.0.30
 
148
  tornado==6.4.1
149
  tqdm==4.66.4
150
  traitlets==5.14.3
151
+ typer==0.12.3
152
  typing-inspect==0.9.0
153
  typing_extensions==4.12.2
154
+ tzdata==2024.1
155
  ulid==1.1
156
  upstash-redis==1.1.0
157
  uptrace==1.24.0
 
164
  wsproto==1.2.0
165
  yarg==0.1.9
166
  yarl==1.9.4
167
+ yfinance==0.2.40
168
  zipp==3.19.2
src/data_sources/cryptocompare.py CHANGED
@@ -13,6 +13,7 @@ load_dotenv()
13
 
14
  redis_cache = REDIS_CACHED
15
 
 
16
  class CryptoCompare:
17
  def __init__(self, base_url: str = None) -> None:
18
  self.CRYPTO_COMPARE_BASE_URL = base_url or CRYPTO_COMPARE_BASE_URL
 
13
 
14
  redis_cache = REDIS_CACHED
15
 
16
+
17
  class CryptoCompare:
18
  def __init__(self, base_url: str = None) -> None:
19
  self.CRYPTO_COMPARE_BASE_URL = base_url or CRYPTO_COMPARE_BASE_URL
src/data_sources/dexscreener.py CHANGED
@@ -11,6 +11,7 @@ load_dotenv()
11
 
12
  redis_cache = REDIS_CACHED
13
 
 
14
  class DexScreener:
15
  """
16
  A class for interacting with the Dex Screener API.
 
11
 
12
  redis_cache = REDIS_CACHED
13
 
14
+
15
  class DexScreener:
16
  """
17
  A class for interacting with the Dex Screener API.
src/databases/redis.py CHANGED
@@ -12,6 +12,7 @@ token = os.getenv("UPSTASH_REDIS_REST_TOKEN")
12
  REDIS = Redis(url=url, token=token)
13
  REDIS_PIPELINE = REDIS.pipeline()
14
 
 
15
  @logger.instrument()
16
  def args_to_key(*args, **kwargs):
17
  """
@@ -50,6 +51,7 @@ def args_to_key(*args, **kwargs):
50
  # Join the elements in the params list using the '_' character as a separator
51
  return "_".join(params)
52
 
 
53
  @logger.instrument()
54
  def REDIS_CACHED(ttl: int = 3600, chunk: bool = False):
55
  """
@@ -109,6 +111,7 @@ def REDIS_CACHED(ttl: int = 3600, chunk: bool = False):
109
  return wrapper
110
  return decorator
111
 
 
112
  @logger.instrument()
113
  def cast_args_to_string_and_return_first_index(args):
114
  """
 
12
  REDIS = Redis(url=url, token=token)
13
  REDIS_PIPELINE = REDIS.pipeline()
14
 
15
+
16
  @logger.instrument()
17
  def args_to_key(*args, **kwargs):
18
  """
 
51
  # Join the elements in the params list using the '_' character as a separator
52
  return "_".join(params)
53
 
54
+
55
  @logger.instrument()
56
  def REDIS_CACHED(ttl: int = 3600, chunk: bool = False):
57
  """
 
111
  return wrapper
112
  return decorator
113
 
114
+
115
  @logger.instrument()
116
  def cast_args_to_string_and_return_first_index(args):
117
  """