aixsatoshi commited on
Commit
ad15fea
1 Parent(s): 0699d9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -7,6 +7,8 @@ from llama_cpp_agent.providers import LlamaCppPythonProvider
7
  from llama_cpp_agent.chat_history import BasicChatHistory
8
  from llama_cpp_agent.chat_history.messages import Roles
9
  import gradio as gr
 
 
10
  from huggingface_hub import hf_hub_download
11
 
12
  # モデルのダウンロード
@@ -196,6 +198,7 @@ demo = gr.ChatInterface(
196
  label="Repetition penalty",
197
  ),
198
  ],
 
199
  retry_btn="Retry",
200
  undo_btn="Undo",
201
  clear_btn="Clear",
 
7
  from llama_cpp_agent.chat_history import BasicChatHistory
8
  from llama_cpp_agent.chat_history.messages import Roles
9
  import gradio as gr
10
+ import random
11
+ from datasets import load_dataset
12
  from huggingface_hub import hf_hub_download
13
 
14
  # モデルのダウンロード
 
198
  label="Repetition penalty",
199
  ),
200
  ],
201
+ examples=example_inputs,
202
  retry_btn="Retry",
203
  undo_btn="Undo",
204
  clear_btn="Clear",