Nikhitha2310 commited on
Commit
a2d699c
·
verified ·
1 Parent(s): c150fc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
 
2
  from transformers import pipeline
3
  import streamlit as st
 
 
4
 
5
  input=st.text_input("Enter the text")
6
  pipe = pipeline("text-generation", model="ardneebwar/mistral_7b_mcq_generator")
 
1
 
2
  from transformers import pipeline
3
  import streamlit as st
4
+ import os
5
+ os.environ['HF_KEY']='sk-proj-uHasdgbriPPlFMm99ZtJT3BlbkFJOl231YfdxCSNmQjVEpMX'
6
 
7
  input=st.text_input("Enter the text")
8
  pipe = pipeline("text-generation", model="ardneebwar/mistral_7b_mcq_generator")