samreddy commited on
Commit
ff3df4b
·
1 Parent(s): 5046b6f

Update openai_assistant_langchain_gradio.py

Browse files
openai_assistant_langchain_gradio.py CHANGED
@@ -142,6 +142,12 @@ problem_statement = """## Can Next-Gen Search Solve My Top 5 Upwork Client Chall
142
  """
143
 
144
  theme='JohnSmith9982/small_and_pretty',
145
- css=".chat-container { width: 800px; height: 16px; }"
 
 
 
 
 
 
146
 
147
- gr.ChatInterface(openai_response, examples=examples, textbox=gr.Textbox(placeholder="Enter a Project Description or ask a followup question on a project", container=False, scale=7), title="SkillBridge", description=problem_statement, retry_btn= None, undo_btn=None, clear_btn=None, theme=theme, css=css).launch(auth=("sree", "search"), share = True)
 
142
  """
143
 
144
  theme='JohnSmith9982/small_and_pretty',
145
+ custom_css = """
146
+ <style>
147
+ .gradio_container {
148
+ height: 600px; /* Adjust the height as needed */
149
+ }
150
+ </style>
151
+ """
152
 
153
+ gr.ChatInterface(openai_response, examples=examples, textbox=gr.Textbox(placeholder="Enter a Project Description or ask a followup question on a project", container=False, scale=7), title="SkillBridge", description=problem_statement, retry_btn= None, undo_btn=None, clear_btn=None, theme=theme, css=custom_css).launch(auth=("sree", "search"), share = True)