Spaces:
Runtime error
Runtime error
reshinthadithyan
commited on
Commit
•
cc59ee0
1
Parent(s):
f947788
adding default arg
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 ","Display all lines containing \"IP_MROUTE\" in the current kernel's compile-time config file.")
|
38 |
button = st.button("synthesize")
|
39 |
if button:
|
40 |
generated_text = generate_text(prompt)
|