added theme
Browse files
app.py
CHANGED
@@ -103,9 +103,10 @@ Assistant: <utterance>
|
|
103 |
```
|
104 |
In this app, you can explore the outputs of a gpt-4 LLM.
|
105 |
"""
|
106 |
-
|
107 |
with gr.Blocks(css = """#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
|
108 |
-
#chatbot {height: 520px; overflow: auto;}"""
|
|
|
109 |
gr.HTML(title)
|
110 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPT4?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
111 |
with gr.Column(elem_id = "col_container"):
|
|
|
103 |
```
|
104 |
In this app, you can explore the outputs of a gpt-4 LLM.
|
105 |
"""
|
106 |
+
theme = gr.themes.Default(primary_hue="green")
|
107 |
with gr.Blocks(css = """#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
|
108 |
+
#chatbot {height: 520px; overflow: auto;}""",
|
109 |
+
theme=theme) as demo:
|
110 |
gr.HTML(title)
|
111 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPT4?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
112 |
with gr.Column(elem_id = "col_container"):
|