Button Style
Browse files
app.py
CHANGED
@@ -18,12 +18,14 @@ def greet(name):
|
|
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='
|
23 |
-
output = gr.Textbox(label='
|
24 |
-
greet_btn = gr.Button("
|
25 |
-
|
|
|
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'
|
|
|
18 |
|
19 |
with gr.Blocks() as demo:
|
20 |
gr.HTML("""<h1 align="center">ChatDulun is Here to Disrupt</h1>""")
|
21 |
+
with gr.Row().style(equal_height=True):
|
22 |
+
name = gr.Textbox(label='What You Want ...').style(show_copy_button=True, container=True)
|
23 |
+
output = gr.Textbox(label='What You Get ...')
|
24 |
+
greet_btn = gr.Button("==> ChatGPT will complete ==>").style(size='lg')
|
25 |
+
|
26 |
+
with gr.Accordion("Are We Learning or Machine Learning ?"):
|
27 |
gr.Markdown("""![Robot](https://drclab-dulun-store.hf.space/img/ml.jpg)""")
|
28 |
+
|
29 |
greet_btn.click(fn=greet, inputs=name, outputs=output)
|
30 |
|
31 |
demo.title= 'ChatDulun = HigherEd Disrupted'
|