Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Nikhitha2310
/
mcq_generation
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Nikhitha2310
commited on
Jul 24, 2024
Commit
fae3755
·
verified
·
1 Parent(s):
b8b3e53
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
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")
7
+
st.write(pipe(input))