noteldar commited on
Commit
abd7a41
·
1 Parent(s): 43d2fe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,9 +16,9 @@ def generate(instruction, knowledge, dialog):
16
  output = tokenizer.decode(outputs[0], skip_special_tokens=True)
17
  return output
18
 
19
- text_init = st.text_area('Enter init() description')
20
- text_deploy = st.text_area('Enter deploy() description')
21
- text_invariant = st.text_area('Enter invariant() description')
22
  if text_init and text_deploy and text_invariant:
23
  # Instruction for a chitchat task
24
  instruction = f'Using the descriptions, write the init code, deploy code and invariant code'
 
16
  output = tokenizer.decode(outputs[0], skip_special_tokens=True)
17
  return output
18
 
19
+ text_init = st.text_area('Enter init description')
20
+ text_deploy = st.text_area('Enter deploy description')
21
+ text_invariant = st.text_area('Enter invariant description')
22
  if text_init and text_deploy and text_invariant:
23
  # Instruction for a chitchat task
24
  instruction = f'Using the descriptions, write the init code, deploy code and invariant code'