Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -146,17 +146,7 @@ def create_chat_tab():
|
|
146 |
btn = gr.Button(visible=False, size="sm")
|
147 |
btn_list.append(btn)
|
148 |
msg = gr.Textbox(label="Prompt", interactive=False)
|
149 |
-
|
150 |
-
examples = gr.Examples(
|
151 |
-
[
|
152 |
-
"I need someone that can help me with real estate in Texas",
|
153 |
-
"I'm looking for help with a payment system for my business",
|
154 |
-
"I need help to develop my leadership skills"
|
155 |
-
],
|
156 |
-
inputs=[msg],
|
157 |
-
label="Example inputs"
|
158 |
-
)
|
159 |
-
|
160 |
def user(user_message, history):
|
161 |
return "", history + [[user_message, None]]
|
162 |
|
|
|
146 |
btn = gr.Button(visible=False, size="sm")
|
147 |
btn_list.append(btn)
|
148 |
msg = gr.Textbox(label="Prompt", interactive=False)
|
149 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
def user(user_message, history):
|
151 |
return "", history + [[user_message, None]]
|
152 |
|