Roxyzhang commited on
Commit
4a0af97
·
verified ·
1 Parent(s): ddb44c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
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").launch(share=False, show_share_button=False)
 
 
 
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)