Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
46707cf
1
Parent(s):
9a9a69d
test
Browse files
app.py
CHANGED
@@ -56,10 +56,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
56 |
gr.Markdown("Run on your own machine using this command: ```docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all \
|
57 |
registry.hf.space/macadeliccc-openchat-3-5-chatbot:latest python app.py```")
|
58 |
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
|
64 |
chat_history = State([]) # Session state for chat history
|
65 |
|
|
|
56 |
gr.Markdown("Run on your own machine using this command: ```docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all \
|
57 |
registry.hf.space/macadeliccc-openchat-3-5-chatbot:latest python app.py```")
|
58 |
|
59 |
+
|
60 |
+
message = gr.Textbox(label="Your Message", placeholder="Type your message here")
|
61 |
+
chatbot = gr.Chatbot()
|
62 |
+
clear = gr.Button("Clear")
|
63 |
|
64 |
chat_history = State([]) # Session state for chat history
|
65 |
|