Nikhitha2310 commited on
Commit
fae3755
·
verified ·
1 Parent(s): b8b3e53

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -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))