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{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,7 +59,6 @@ demo = gr.ChatInterface(
|
|
67 |
),
|
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(
|
|
|
59 |
),
|
60 |
|
61 |
],
|
|
|
62 |
theme="Nymbo/Alyx_Theme",
|
63 |
)
|
64 |
if __name__ == "__main__":
|