T-K-O-H commited on
Commit
fbaa829
·
1 Parent(s): ce67515

Add Chainlit configuration and documentation

Browse files
Files changed (3) hide show
  1. .chainlit/config.toml +8 -2
  2. Dockerfile +6 -4
  3. push_changes.bat +4 -0
.chainlit/config.toml CHANGED
@@ -66,7 +66,7 @@ edit_message = true
66
 
67
  [UI]
68
  # Name of the assistant.
69
- name = "Assistant"
70
 
71
  # default_theme = "dark"
72
 
@@ -75,7 +75,7 @@ name = "Assistant"
75
  # default_sidebar_state = "open"
76
 
77
  # Description of the assistant. This is used for HTML tags.
78
- # description = ""
79
 
80
  # Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
81
  cot = "full"
@@ -118,3 +118,9 @@ cot = "full"
118
 
119
  [meta]
120
  generated_by = "2.5.5"
 
 
 
 
 
 
 
66
 
67
  [UI]
68
  # Name of the assistant.
69
+ name = "Stock Price Calculator"
70
 
71
  # default_theme = "dark"
72
 
 
75
  # default_sidebar_state = "open"
76
 
77
  # Description of the assistant. This is used for HTML tags.
78
+ description = "A real-time stock price and share calculator powered by ChatGPT and Yahoo Finance."
79
 
80
  # Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
81
  cot = "full"
 
118
 
119
  [meta]
120
  generated_by = "2.5.5"
121
+
122
+ author = "Your Name"
123
+ email = "your.email@example.com"
124
+ website = "https://huggingface.co/spaces/Shipmaster1/AI_Stock_Agent"
125
+
126
+ show_readme_as_default = true
Dockerfile CHANGED
@@ -16,13 +16,15 @@ RUN useradd -m -u 1000 chainlit_user
16
  COPY requirements.txt /code/requirements.txt
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
 
 
 
 
19
  # Copy the rest of the application
20
  COPY . /code/
21
 
22
- # Create necessary directories and set permissions
23
- RUN mkdir -p /code/.files && \
24
- mkdir -p /code/.chainlit && \
25
- chown -R chainlit_user:chainlit_user /code && \
26
  chmod -R 755 /code && \
27
  chmod -R 777 /code/.files && \
28
  chmod -R 777 /code/.chainlit
 
16
  COPY requirements.txt /code/requirements.txt
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
+ # Create necessary directories
20
+ RUN mkdir -p /code/.files && \
21
+ mkdir -p /code/.chainlit
22
+
23
  # Copy the rest of the application
24
  COPY . /code/
25
 
26
+ # Set permissions
27
+ RUN chown -R chainlit_user:chainlit_user /code && \
 
 
28
  chmod -R 755 /code && \
29
  chmod -R 777 /code/.files && \
30
  chmod -R 777 /code/.chainlit
push_changes.bat ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ @echo off
2
+ git add .
3
+ git commit -m "Add Chainlit configuration and documentation"
4
+ git push origin main