Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
639a183
1
Parent(s):
8a6bcaa
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
with gr.Blocks() as demo:
|
4 |
+
with gr.Box():
|
5 |
+
chat = gr.Chatbot(label="Chat")
|
6 |
+
with gr.Row():
|
7 |
+
msg_box = gr.Textbox(show_label=False, placeholder="Type a message.", scale=5, container=False)
|
8 |
+
submit_btn = gr.Button("Send", scale=1, variant='primary')
|
9 |
+
|
10 |
+
if __name__ == "__main__":
|
11 |
+
demo.launch()
|