Nymbo commited on
Commit
529e511
1 Parent(s): 4ba71e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -4,6 +4,14 @@ import gradio as gr
4
  from openai import OpenAI
5
  import os
6
 
 
 
 
 
 
 
 
 
7
  ACCESS_TOKEN = os.getenv("HF_TOKEN")
8
 
9
  client = OpenAI(
@@ -59,8 +67,8 @@ demo = gr.ChatInterface(
59
  ),
60
 
61
  ],
 
62
  theme="Nymbo/Alyx_Theme",
63
- height=700,
64
  )
65
  if __name__ == "__main__":
66
  demo.launch()
 
4
  from openai import OpenAI
5
  import os
6
 
7
+ css = '''
8
+ .gradio-container{max-width: 1000px !important}
9
+ h1{text-align:center}
10
+ footer {
11
+ visibility: hidden
12
+ }
13
+ '''
14
+
15
  ACCESS_TOKEN = os.getenv("HF_TOKEN")
16
 
17
  client = OpenAI(
 
67
  ),
68
 
69
  ],
70
+ css=css,
71
  theme="Nymbo/Alyx_Theme",
 
72
  )
73
  if __name__ == "__main__":
74
  demo.launch()