Spaces:
Running
Running
stable-diffusion-ai
commited on
Commit
•
f34e051
1
Parent(s):
5e310ee
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
|
139 |
theme=theme) as demo:
|
140 |
gr.HTML(title)
|
141 |
gr.HTML("""<h3 align="center">This app provides you full access to GPT-3.5 (4096 token limit) thanks to <a href="https://stablediffusion.fr">Stable Diffusion AI online</a>. You don't need any OPENAI API key.<br><br>If this app doesn't respond, it's likely due to too much visitors. Consider trying <a href="https://stablediffusion.fr/chatgpt">Open GPT</a> or <a href="https://stablediffusion.fr/llama2">Llama 2</a> app</h3>""")
|
142 |
-
with gr.Column(elem_id = "col_container", visible=
|
143 |
#openai_api_key = gr.Textbox(type='password', label="Enter only your OpenAI API key here")
|
144 |
chatbot = gr.Chatbot(elem_id='chatbot') #c
|
145 |
inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter") #t
|
|
|
139 |
theme=theme) as demo:
|
140 |
gr.HTML(title)
|
141 |
gr.HTML("""<h3 align="center">This app provides you full access to GPT-3.5 (4096 token limit) thanks to <a href="https://stablediffusion.fr">Stable Diffusion AI online</a>. You don't need any OPENAI API key.<br><br>If this app doesn't respond, it's likely due to too much visitors. Consider trying <a href="https://stablediffusion.fr/chatgpt">Open GPT</a> or <a href="https://stablediffusion.fr/llama2">Llama 2</a> app</h3>""")
|
142 |
+
with gr.Column(elem_id = "col_container", visible=True) as main_block:
|
143 |
#openai_api_key = gr.Textbox(type='password', label="Enter only your OpenAI API key here")
|
144 |
chatbot = gr.Chatbot(elem_id='chatbot') #c
|
145 |
inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter") #t
|