thrag commited on
Commit
8f7d4f2
·
1 Parent(s): fe4ae39
Files changed (1) hide show
  1. demo-tools-1.ipynb +6 -5
demo-tools-1.ipynb CHANGED
@@ -258,6 +258,7 @@
258
  " resp += '\\n\\n'\n",
259
  " resp += 'Steps to solve answer using ReAct\\n'\n",
260
  " resp += 'You have access to the following recipe lists: \\n' + accessListMsg\n",
 
261
  " for i in range(len(stepsDict)):\n",
262
  " resp += '##########################################\\n'\n",
263
  " resp += f'Step: {i+1} of {len(stepsDict)}\\n'\n",
@@ -280,14 +281,14 @@
280
  },
281
  {
282
  "cell_type": "code",
283
- "execution_count": 117,
284
  "metadata": {},
285
  "outputs": [
286
  {
287
  "name": "stdout",
288
  "output_type": "stream",
289
  "text": [
290
- "Running on local URL: http://127.0.0.1:7904\n",
291
  "\n",
292
  "To create a public link, set `share=True` in `launch()`.\n"
293
  ]
@@ -295,7 +296,7 @@
295
  {
296
  "data": {
297
  "text/html": [
298
- "<div><iframe src=\"http://127.0.0.1:7904/\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
299
  ],
300
  "text/plain": [
301
  "<IPython.core.display.HTML object>"
@@ -308,7 +309,7 @@
308
  "data": {
309
  "text/plain": []
310
  },
311
- "execution_count": 117,
312
  "metadata": {},
313
  "output_type": "execute_result"
314
  }
@@ -361,7 +362,7 @@
361
  " gr.Markdown(recipesMsg)\n",
362
  " \n",
363
  " with gr.Column():\n",
364
- " out = gr.TextArea(label=\"ReAct Answer\", placeholder=\"The answer will go here...\")\n",
365
  " \n",
366
  " btn.click(fn=ask_query, inputs=[modelDD, openAIKey, inp, accessCG], outputs=out)\n",
367
  " \n",
 
258
  " resp += '\\n\\n'\n",
259
  " resp += 'Steps to solve answer using ReAct\\n'\n",
260
  " resp += 'You have access to the following recipe lists: \\n' + accessListMsg\n",
261
+ " resp += '\\n'\n",
262
  " for i in range(len(stepsDict)):\n",
263
  " resp += '##########################################\\n'\n",
264
  " resp += f'Step: {i+1} of {len(stepsDict)}\\n'\n",
 
281
  },
282
  {
283
  "cell_type": "code",
284
+ "execution_count": 118,
285
  "metadata": {},
286
  "outputs": [
287
  {
288
  "name": "stdout",
289
  "output_type": "stream",
290
  "text": [
291
+ "Running on local URL: http://127.0.0.1:7905\n",
292
  "\n",
293
  "To create a public link, set `share=True` in `launch()`.\n"
294
  ]
 
296
  {
297
  "data": {
298
  "text/html": [
299
+ "<div><iframe src=\"http://127.0.0.1:7905/\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
300
  ],
301
  "text/plain": [
302
  "<IPython.core.display.HTML object>"
 
309
  "data": {
310
  "text/plain": []
311
  },
312
+ "execution_count": 118,
313
  "metadata": {},
314
  "output_type": "execute_result"
315
  }
 
362
  " gr.Markdown(recipesMsg)\n",
363
  " \n",
364
  " with gr.Column():\n",
365
+ " out = gr.TextArea(label=\"ReAct Answer\", placeholder=\"The answer will go here...\", lines=50)\n",
366
  " \n",
367
  " btn.click(fn=ask_query, inputs=[modelDD, openAIKey, inp, accessCG], outputs=out)\n",
368
  " \n",