rohitashva commited on
Commit
4b0e40f
Β·
verified Β·
1 Parent(s): c8a7f96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,6 @@ def load_config():
18
  config = yaml.safe_load(f)
19
  return config
20
 
21
- import os
22
  # Securely fetch Hugging Face API key
23
  hf_token = os.getenv('HUGGING') # Set this in your environment
24
 
@@ -129,6 +128,8 @@ def main():
129
  if st.button("Get Information"):
130
  if query:
131
  response = get_qa_chain(query)
 
 
132
  st.markdown(f"**πŸ“Œ Response:**\n\n{response[250:]}")
133
  else:
134
  st.write("Please enter a query to get a response.")
 
18
  config = yaml.safe_load(f)
19
  return config
20
 
 
21
  # Securely fetch Hugging Face API key
22
  hf_token = os.getenv('HUGGING') # Set this in your environment
23
 
 
128
  if st.button("Get Information"):
129
  if query:
130
  response = get_qa_chain(query)
131
+ print("HELLOOOO")
132
+ print(response[300:])
133
  st.markdown(f"**πŸ“Œ Response:**\n\n{response[250:]}")
134
  else:
135
  st.write("Please enter a query to get a response.")