Update app.py
Browse files
app.py
CHANGED
@@ -4,14 +4,6 @@ import gradio as gr
|
|
4 |
from openai import OpenAI
|
5 |
import os
|
6 |
|
7 |
-
css = '''
|
8 |
-
.gradio-container{min-height: 700px !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(
|
@@ -68,6 +60,7 @@ demo = gr.ChatInterface(
|
|
68 |
|
69 |
],
|
70 |
css=css,
|
|
|
71 |
theme="Nymbo/Alyx_Theme",
|
72 |
)
|
73 |
if __name__ == "__main__":
|
|
|
4 |
from openai import OpenAI
|
5 |
import os
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
ACCESS_TOKEN = os.getenv("HF_TOKEN")
|
8 |
|
9 |
client = OpenAI(
|
|
|
60 |
|
61 |
],
|
62 |
css=css,
|
63 |
+
fill_height=True,
|
64 |
theme="Nymbo/Alyx_Theme",
|
65 |
)
|
66 |
if __name__ == "__main__":
|