Spaces:
Runtime error
Runtime error
reshinthadithyan
commited on
Commit
•
3ed4f5d
1
Parent(s):
cc59ee0
adding app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ st.sidebar.title("Code Representation Learning")
|
|
34 |
workflow = st.sidebar.selectbox('select a task', ['Bash Synthesis'])
|
35 |
if workflow == "Bash Synthesis":
|
36 |
st.title("Program Synthesis for Bash")
|
37 |
-
prompt = st.text_input("Natural Language prompt ",
|
38 |
button = st.button("synthesize")
|
39 |
if button:
|
40 |
generated_text = generate_text(prompt)
|
|
|
34 |
workflow = st.sidebar.selectbox('select a task', ['Bash Synthesis'])
|
35 |
if workflow == "Bash Synthesis":
|
36 |
st.title("Program Synthesis for Bash")
|
37 |
+
prompt = st.text_input("Natural Language prompt ",'print all the files with ".cpp" extension')
|
38 |
button = st.button("synthesize")
|
39 |
if button:
|
40 |
generated_text = generate_text(prompt)
|