Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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")
|