dhuynh95 commited on
Commit
be1b538
·
1 Parent(s): cf544db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -86,12 +86,10 @@ example = examples[0]
86
 
87
  with gr.Blocks() as demo:
88
  gr.Markdown("<h1><center>Llama_test: generate unit test for your Python code</center></h1>")
89
- with gr.Row():
90
- code_input = gr.Code(example, label="Provide the code of the function you want to test")
91
- gr.Examples(
92
- examples=examples,
93
- inputs=code_input,
94
- )
95
 
96
  generate_btn = gr.Button("Generate test")
97
  with gr.Row():
 
86
 
87
  with gr.Blocks() as demo:
88
  gr.Markdown("<h1><center>Llama_test: generate unit test for your Python code</center></h1>")
89
+ code_input = gr.Code(example, label="Provide the code of the function you want to test")
90
+ gr.Examples(
91
+ examples=examples,
92
+ inputs=code_input,)
 
 
93
 
94
  generate_btn = gr.Button("Generate test")
95
  with gr.Row():