Update app.py
Browse files
app.py
CHANGED
|
@@ -61,6 +61,14 @@ def chatbot(input, conversation_history=None):
|
|
| 61 |
inputs = [gr.components.Textbox(lines=7, label="Chat with AI"), gr.components.State()]
|
| 62 |
outputs = [gr.components.Textbox(lines=7, label="Reply"), gr.components.State()]
|
| 63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="AI Chatbot",
|
| 65 |
description="Ask anything you want",
|
| 66 |
-
theme="Default"
|
|
|
|
|
|
|
|
|
| 61 |
inputs = [gr.components.Textbox(lines=7, label="Chat with AI"), gr.components.State()]
|
| 62 |
outputs = [gr.components.Textbox(lines=7, label="Reply"), gr.components.State()]
|
| 63 |
|
| 64 |
+
css = """
|
| 65 |
+
#share-btn, #share-btn-container {
|
| 66 |
+
display: none !important;
|
| 67 |
+
}
|
| 68 |
+
"""
|
| 69 |
+
|
| 70 |
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="AI Chatbot",
|
| 71 |
description="Ask anything you want",
|
| 72 |
+
theme="Default",
|
| 73 |
+
css=css,
|
| 74 |
+
).launch(share=False)
|