Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 20 |
-
text_deploy = st.text_area('Enter deploy
|
| 21 |
-
text_invariant = st.text_area('Enter invariant
|
| 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'
|