Spaces:
Runtime error
Runtime error
yash161101
commited on
Commit
•
c2c2016
1
Parent(s):
8504ff2
Update app.py
Browse files
app.py
CHANGED
@@ -18,10 +18,10 @@ def get_model():
|
|
18 |
|
19 |
|
20 |
model, tokenizer = get_model()
|
21 |
-
g =
|
22 |
-
c = 5
|
23 |
with st.form(key='my_form'):
|
24 |
-
prompt = st.
|
25 |
#prompt = st.text_area(label='Enter Number of words', value=c)
|
26 |
submit_button = st.form_submit_button(label='Submit')
|
27 |
if submit_button:
|
|
|
18 |
|
19 |
|
20 |
model, tokenizer = get_model()
|
21 |
+
g =
|
22 |
+
#c = 5
|
23 |
with st.form(key='my_form'):
|
24 |
+
prompt = st.text_input('Enter sentence', '')
|
25 |
#prompt = st.text_area(label='Enter Number of words', value=c)
|
26 |
submit_button = st.form_submit_button(label='Submit')
|
27 |
if submit_button:
|