testnow720 commited on
Commit
1c39c1b
·
verified ·
1 Parent(s): 7c0f0b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -15,6 +15,7 @@ demo = gr.Interface(
15
  label="Code",
16
  max_lines=4_294_967_295,
17
  lines=4_294_967_295,
 
18
  ),
19
  gr.Dropdown(
20
  show_label=True,
@@ -23,7 +24,9 @@ demo = gr.Interface(
23
  value="Python"
24
  ),
25
  ],
26
- outputs=gr.Textbox(label="Result")
 
 
27
  )
28
 
29
  demo.launch(debug=True)
 
15
  label="Code",
16
  max_lines=4_294_967_295,
17
  lines=4_294_967_295,
18
+ value="print('Hello, World!')",
19
  ),
20
  gr.Dropdown(
21
  show_label=True,
 
24
  value="Python"
25
  ),
26
  ],
27
+ outputs=gr.Textbox(label="Result"),
28
+ title="HFChat Code Executor",
29
+ description="Enter the code snippet and language that you want to execute.",
30
  )
31
 
32
  demo.launch(debug=True)