Yashvj123 commited on
Commit
d7f19e1
·
verified ·
1 Parent(s): d26cb25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -15,6 +15,13 @@ from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
15
  os.environ["HUGGINGFACEHUB_API_KEY"] = os.getenv("HF")
16
  os.environ["HF_TOKEN"] = os.getenv("HF")
17
 
 
 
 
 
 
 
 
18
  # Split large response into smaller chunks (for translation)
19
  def split_text_into_chunks(text, max_length=450):
20
  lines = text.split('\n')
 
15
  os.environ["HUGGINGFACEHUB_API_KEY"] = os.getenv("HF")
16
  os.environ["HF_TOKEN"] = os.getenv("HF")
17
 
18
+ st.set_page_config(
19
+ page_title="MediAssist - Prescription Analyzer",
20
+ layout="wide",
21
+ page_icon="💊"
22
+ )
23
+
24
+
25
  # Split large response into smaller chunks (for translation)
26
  def split_text_into_chunks(text, max_length=450):
27
  lines = text.split('\n')