Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ css = """
|
|
114 |
with gr.Blocks(css=css) as demo:
|
115 |
gr.HTML(title)
|
116 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPTwithAPI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
117 |
-
with gr.Column(elem_id="col_container"
|
118 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
119 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
120 |
inputs = gr.Textbox(placeholder="Hi there!", label="Type an input and press Enter", elem_id="input_textbox")
|
|
|
114 |
with gr.Blocks(css=css) as demo:
|
115 |
gr.HTML(title)
|
116 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPTwithAPI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
117 |
+
with gr.Column(elem_id="col_container"):
|
118 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
119 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
120 |
inputs = gr.Textbox(placeholder="Hi there!", label="Type an input and press Enter", elem_id="input_textbox")
|