pablocst commited on
Commit
d7204b9
·
1 Parent(s): 82842df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,9 +113,9 @@ css = """
113
  with gr.Blocks(css=css) as demo:
114
  gr.HTML(title)
115
  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>''')
116
- with gr.Column(elem_id="chatbot"):
117
  openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
118
- chatbot = gr.Chatbot(elem_id="col_container")
119
  inputs = gr.Textbox(placeholder="Hi there!", label="Type an input and press Enter")
120
  state = gr.State([])
121
  b1 = gr.Button()
 
113
  with gr.Blocks(css=css) as demo:
114
  gr.HTML(title)
115
  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>''')
116
+ with gr.Column(elem_id="col_container"):
117
  openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
118
+ chatbot = gr.Chatbot(elem_id="chatbot")
119
  inputs = gr.Textbox(placeholder="Hi there!", label="Type an input and press Enter")
120
  state = gr.State([])
121
  b1 = gr.Button()