Spaces:
Sleeping
Sleeping
ray
commited on
Commit
·
2580fdf
1
Parent(s):
b52e721
for demo
Browse files
app.py
CHANGED
@@ -216,18 +216,18 @@ with gr.Blocks() as demo:
|
|
216 |
)
|
217 |
chatbot.like(vote, None, None)
|
218 |
|
219 |
-
with gr.Tab("With function calling as tool to retrieve"):
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
|
226 |
|
227 |
-
with gr.Tab("Vanilla ChatGPT without modification"):
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
|
232 |
gr.Markdown("instructions:\n"
|
233 |
"\nUsing model gpt-4-preview-1106, the most advanced model now in the market.\n"
|
|
|
216 |
)
|
217 |
chatbot.like(vote, None, None)
|
218 |
|
219 |
+
# with gr.Tab("With function calling as tool to retrieve"):
|
220 |
+
# function_call_interface = gr.ChatInterface(
|
221 |
+
# awesum_chatbot.stream_chat,
|
222 |
+
# examples=awesum_chatbot.CHAT_EXAMPLES,
|
223 |
+
# )
|
224 |
+
# chatbot.like(vote, None, None)
|
225 |
|
226 |
|
227 |
+
# with gr.Tab("Vanilla ChatGPT without modification"):
|
228 |
+
# vanilla_interface = gr.ChatInterface(
|
229 |
+
# awesum_chatbot_simple.stream_chat,
|
230 |
+
# examples=awesum_chatbot.CHAT_EXAMPLES)
|
231 |
|
232 |
gr.Markdown("instructions:\n"
|
233 |
"\nUsing model gpt-4-preview-1106, the most advanced model now in the market.\n"
|