HEHEBOIOG commited on
Commit
e96d722
·
verified ·
1 Parent(s): a4f4e70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,7 +13,7 @@ from sklearn.metrics import accuracy_score
13
  from nltk.translate.bleu_score import sentence_bleu
14
  from rouge_score import rouge_scorer
15
  import tavily
16
- import random # Placeholder for certain metrics; replace with real computations
17
 
18
  class AdvancedRAGChatbot:
19
  def __init__(self,
@@ -129,7 +129,7 @@ def main():
129
  evaluation_metrics = ["BLEU", "ROUGE-1", "ROUGE-L", "Accuracy"]
130
  metrics_selected = st.multiselect("Select Metrics to Display", evaluation_metrics, default=evaluation_metrics)
131
  st.divider()
132
- st.info("Powered by Tavily Web Search")
133
 
134
  chatbot = AdvancedRAGChatbot(
135
  tavily_api_key=tavily_api_key,
@@ -182,7 +182,7 @@ def main():
182
  except Exception as e:
183
  st.error(f"An error occurred: {e}")
184
  else:
185
- st.info("Enter a query to search the web and get an AI-powered response")
186
 
187
  if __name__ == "__main__":
188
  main()
 
13
  from nltk.translate.bleu_score import sentence_bleu
14
  from rouge_score import rouge_scorer
15
  import tavily
16
+ import random
17
 
18
  class AdvancedRAGChatbot:
19
  def __init__(self,
 
129
  evaluation_metrics = ["BLEU", "ROUGE-1", "ROUGE-L", "Accuracy"]
130
  metrics_selected = st.multiselect("Select Metrics to Display", evaluation_metrics, default=evaluation_metrics)
131
  st.divider()
132
+ st.info("Powered by 21K-3061, 21K-3006, 21K-3062")
133
 
134
  chatbot = AdvancedRAGChatbot(
135
  tavily_api_key=tavily_api_key,
 
182
  except Exception as e:
183
  st.error(f"An error occurred: {e}")
184
  else:
185
+ st.info("Enter a query to get an AI-powered response")
186
 
187
  if __name__ == "__main__":
188
  main()