pablocst commited on
Commit
a86a3ac
·
1 Parent(s): 6e07e45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,13 +105,13 @@ In this app, you can explore the outputs of a gpt-3.5-turbo LLM.
105
  """
106
 
107
  with gr.Blocks(css = """#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
108
- #chatbot {height: 520px; overflow: auto;}""") as demo:
109
  gr.HTML(title)
110
  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>''')
111
  with gr.Column(elem_id = "col_container"):
112
  openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
113
  chatbot = gr.Chatbot(elem_id='chatbot') #c
114
- inputs = gr.Textbox(scale=5, placeholder= "Hi there!", label= "Type an input and press Enter") #t
115
  state = gr.State([]) #s
116
  b1 = gr.Button()
117
 
 
105
  """
106
 
107
  with gr.Blocks(css = """#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
108
+ #chatbot {width: 10%; height: 520px; overflow: auto;}""") as demo:
109
  gr.HTML(title)
110
  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>''')
111
  with gr.Column(elem_id = "col_container"):
112
  openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
113
  chatbot = gr.Chatbot(elem_id='chatbot') #c
114
+ inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter") #t
115
  state = gr.State([]) #s
116
  b1 = gr.Button()
117