VenkateshRoshan
commited on
Commit
·
80463d9
1
Parent(s):
d10de86
check_1
Browse files
app.py
CHANGED
@@ -58,27 +58,10 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
58 |
# ],
|
59 |
# )
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
.
|
64 |
-
|
65 |
-
border: none;
|
66 |
-
color: white;
|
67 |
-
padding: 15px 32px;
|
68 |
-
text-align: center;
|
69 |
-
text-decoration: none;
|
70 |
-
display: inline-block;
|
71 |
-
font-size: 16px;
|
72 |
-
margin: 4px 2px;
|
73 |
-
cursor: pointer;
|
74 |
-
}
|
75 |
-
|
76 |
-
"""
|
77 |
-
|
78 |
-
with gr.Blocks(css=custom_css) as demo:
|
79 |
-
gr.Markdown("## Zephyr Chatbot")
|
80 |
-
# load button from css
|
81 |
-
button = gr.Button("Click me", css_class="gr_button")
|
82 |
|
83 |
if __name__ == "__main__":
|
84 |
demo.launch()
|
|
|
58 |
# ],
|
59 |
# )
|
60 |
|
61 |
+
demo = gr.Interface(
|
62 |
+
chatBox = gr.Chatbot(height=100,width=300,placeholder="Type your message here...",label="Chatbot"),
|
63 |
+
button = gr.Button(label="Enter",type="button")
|
64 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
66 |
if __name__ == "__main__":
|
67 |
demo.launch()
|