YaserDS-777 commited on
Commit
f067dd4
·
verified ·
1 Parent(s): c172ad5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,16 +2,16 @@ import os
2
  import streamlit as st
3
  from langchain_huggingface import HuggingFaceEndpoint
4
 
5
- # Set the environment variable "HUGGINGFACEHUB_API_TOKEN" to the value of sec_key
6
  sec_key = ""
7
- os.environ["HUGGINGFACEHUB_API_TOKEN"] = sec_key
8
 
9
  # Specify the repository IDs of the Hugging Face models you want to use
10
  repo_id_mistral = "mistralai/Mistral-7B-Instruct-v0.3"
11
  repo_id_llama3 = "meta-llama/Meta-Llama-3-8B" # Replace with the actual repo ID for Llama3
12
 
13
  # Streamlit app layout
14
- st.title("🤖 AI Query Wizard 🧙")
15
 
16
  # Custom background and styling
17
  st.markdown(
 
2
  import streamlit as st
3
  from langchain_huggingface import HuggingFaceEndpoint
4
 
5
+ # Set the environment variable "m_token" to the value of sec_key
6
  sec_key = ""
7
+ os.environ["m_token"] = sec_key
8
 
9
  # Specify the repository IDs of the Hugging Face models you want to use
10
  repo_id_mistral = "mistralai/Mistral-7B-Instruct-v0.3"
11
  repo_id_llama3 = "meta-llama/Meta-Llama-3-8B" # Replace with the actual repo ID for Llama3
12
 
13
  # Streamlit app layout
14
+ st.title("🤖 Mistral-7B-Instruct-v0.3 تجربة نموذج 🧙")
15
 
16
  # Custom background and styling
17
  st.markdown(