exnav29 commited on
Commit
4af51de
·
1 Parent(s): 59c2919

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -3
app.py CHANGED
@@ -21,6 +21,32 @@ def chatbot(input):
21
  inputs = gr.inputs.Textbox(lines=7, label="Ask your question")
22
  outputs = gr.outputs.Textbox(label="Reply")
23
 
24
- gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="JChat Real Estate Investing Chatbot",
25
- description="Ask anything you want about investing in real estate",
26
- theme="huggingface", css="styles.css").launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  inputs = gr.inputs.Textbox(lines=7, label="Ask your question")
22
  outputs = gr.outputs.Textbox(label="Reply")
23
 
24
+ app = gr.Interface(fn=chatbot, inputs=input_textbox, outputs=output_textbox,
25
+ title="JChat Real Estate Investing Chatbot",
26
+ description="Ask anything you want about investing in real estate",
27
+ theme="dark",
28
+ css="""body {
29
+ background-color: #1F1F1F;
30
+ font-family: 'Montserrat', sans-serif;
31
+ }
32
+ .input {
33
+ background-color: #333333;
34
+ border-color: #2e2e2e;
35
+ border-radius: 25px;
36
+ border-width: 0px;
37
+ color: white;
38
+ font-size: 1.3em;
39
+ padding: 15px;
40
+ margin-bottom: 15px;
41
+ }
42
+ .output {
43
+ background-color: #333333;
44
+ border-color: #2e2e2e;
45
+ border-radius: 25px;
46
+ border-width: 0px;
47
+ color: white;
48
+ font-size: 1.3em;
49
+ padding: 15px;
50
+ margin-bottom: 15px;
51
+ }""")
52
+ app.launch()