drclab commited on
Commit
bcd0cea
1 Parent(s): b49a76e
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -18,11 +18,12 @@ def greet(name):
18
 
19
  with gr.Blocks() as demo:
20
  gr.HTML("""<h1 align="center">ChatDulun is Here to Disrupt</h1>""")
21
- name = gr.Textbox(label='Guest Name')
 
 
 
22
  with gr.Accordion("Are we learning?"):
23
  gr.Markdown("""![Robot](https://drclab-dulun-store.hf.space/img/ml.jpg)""")
24
- output = gr.Textbox(label='Greetings !')
25
- greet_btn = gr.Button("Greet")
26
  greet_btn.click(fn=greet, inputs=name, outputs=output)
27
 
28
  demo.title= 'ChatDulun = HigherEd Disrupted'
 
18
 
19
  with gr.Blocks() as demo:
20
  gr.HTML("""<h1 align="center">ChatDulun is Here to Disrupt</h1>""")
21
+ with gr.Row():
22
+ name = gr.Textbox(label='Guest Name')
23
+ output = gr.Textbox(label='Greetings !')
24
+ greet_btn = gr.Button("Greet")
25
  with gr.Accordion("Are we learning?"):
26
  gr.Markdown("""![Robot](https://drclab-dulun-store.hf.space/img/ml.jpg)""")
 
 
27
  greet_btn.click(fn=greet, inputs=name, outputs=output)
28
 
29
  demo.title= 'ChatDulun = HigherEd Disrupted'