xqt commited on
Commit
686461a
β€’
1 Parent(s): 76e2397

UPD: fixed placeholder for section 4 Function generation

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -204,11 +204,11 @@ with gradio.Blocks(fill_height=True) as base_app:
204
  __function_seed = gradio.Slider(minimum = 0, maximum = 1000, step = 1, value = 123, label = "Seed", interactive = True)
205
  with gradio.Row():
206
  with gradio.Column():
207
- __function_name = gradio.Textbox(label = "Function Name", placeholder = "function name", interactive = False)
208
  with gradio.Column():
209
- __function_parameters = gradio.Textbox(label = "Input Parameters", placeholder = "input parameters", interactive = False)
210
  with gradio.Column():
211
- __function_return = gradio.Textbox(label = "Return Type", placeholder = "return type", interactive = False)
212
 
213
  gradio.Markdown("# πŸš€ Step 5: Generate a code.")
214
  __code_generate = gradio.Button("Generate Code", scale = 2)
 
204
  __function_seed = gradio.Slider(minimum = 0, maximum = 1000, step = 1, value = 123, label = "Seed", interactive = True)
205
  with gradio.Row():
206
  with gradio.Column():
207
+ __function_name = gradio.Textbox(label = "Function Name", placeholder = "dummy_foo", interactive = False)
208
  with gradio.Column():
209
+ __function_parameters = gradio.Textbox(label = "Input Parameters", placeholder = "['input_dict: dict, 'a': int]", interactive = False)
210
  with gradio.Column():
211
+ __function_return = gradio.Textbox(label = "Return Type", placeholder = "str", interactive = False)
212
 
213
  gradio.Markdown("# πŸš€ Step 5: Generate a code.")
214
  __code_generate = gradio.Button("Generate Code", scale = 2)