AhmedSSoliman commited on
Commit
13950de
·
1 Parent(s): bf37054

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ iface = gr.Interface(fn=generate_code, inputs="text", outputs="text",
20
  examples=[["create array containing the maximum value of respective elements of array `[2, 3, 4]` and array `[1, 5, 2]"],
21
  ["check if all elements in list `mylist` are identical"],
22
  ["enable debug mode on flask application `app`"],
23
- ["getting the length of `my_tuple`"]],
24
- cache_examples=False,
25
  title="MarianCG: A Code Generation Transformer Model Inspired by Machine Translation",
26
  description="This is a code generation model which can generate code from the natural language description")
27
  iface.launch()
 
20
  examples=[["create array containing the maximum value of respective elements of array `[2, 3, 4]` and array `[1, 5, 2]"],
21
  ["check if all elements in list `mylist` are identical"],
22
  ["enable debug mode on flask application `app`"],
23
+ ["getting the length of `my_tuple`"],
24
+ ['find all files in directory "/mydir" with extension ".txt"']],
25
  title="MarianCG: A Code Generation Transformer Model Inspired by Machine Translation",
26
  description="This is a code generation model which can generate code from the natural language description")
27
  iface.launch()