Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import os
|
|
| 2 |
import time
|
| 3 |
import streamlit as st
|
| 4 |
from dotenv import load_dotenv
|
|
|
|
| 5 |
|
| 6 |
from langchain_core.prompts import ChatPromptTemplate
|
| 7 |
from langchain_groq import ChatGroq
|
|
@@ -51,7 +52,10 @@ class LanguageModelProcessor:
|
|
| 51 |
return response['text']
|
| 52 |
|
| 53 |
# Streamlit UI Configuration
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
# Initialize the language model processor
|
| 57 |
llm_processor = LanguageModelProcessor()
|
|
|
|
| 2 |
import time
|
| 3 |
import streamlit as st
|
| 4 |
from dotenv import load_dotenv
|
| 5 |
+
import datetime
|
| 6 |
|
| 7 |
from langchain_core.prompts import ChatPromptTemplate
|
| 8 |
from langchain_groq import ChatGroq
|
|
|
|
| 52 |
return response['text']
|
| 53 |
|
| 54 |
# Streamlit UI Configuration
|
| 55 |
+
today = datetime.date.today()
|
| 56 |
+
|
| 57 |
+
##Put the title of the app Finace agent of todays market and put the variable of today
|
| 58 |
+
st.title(f'{today} Finance Agent of Today Market')
|
| 59 |
|
| 60 |
# Initialize the language model processor
|
| 61 |
llm_processor = LanguageModelProcessor()
|