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