Mummia-99 commited on
Commit
cc90b83
·
verified ·
1 Parent(s): 5577d72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ code_generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
15
  prompt = "def quicksort(arr):"
16
 
17
 
18
- inputs_text=st.text_input("Please enter the text",value="def quicksort(arr):")
19
 
20
  if st.button("submit"):
21
  generated_code = code_generator(inputs_text, max_length=200, num_return_sequences=1)
 
15
  prompt = "def quicksort(arr):"
16
 
17
 
18
+ inputs_text=st.text_input("Please enter the text",value='v="prem kumar" for i in v :')
19
 
20
  if st.button("submit"):
21
  generated_code = code_generator(inputs_text, max_length=200, num_return_sequences=1)