sawac commited on
Commit
a75025f
·
verified ·
1 Parent(s): 90aaf16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -59,8 +59,9 @@ def greet(prompt, temperature):
59
  with gr.Blocks() as demo:
60
  gr.Markdown(f"# LLMチャットボット(Streaming)")
61
  gr.HighlightedText(
62
- value=[("これは", None), ("軽量なLLM", "negative"), ("", None), ("テストアプリ", "positive"), ("です。", None)],
63
- label="説明"
 
64
  )
65
  gr.Textbox(value=filename, label="モデル:", interactive=False)
66
  # gr.Markdown(f"Model: {filename} ")
 
59
  with gr.Blocks() as demo:
60
  gr.Markdown(f"# LLMチャットボット(Streaming)")
61
  gr.HighlightedText(
62
+ value=[("これは", None), ("軽量なLLM", "positive"), ("を使用した", None), ("テストアプリケーション", "negative"), ("です。", None),
63
+ ("内容は実験的なものであり", "neutral"), ("正確性や適切性は保証されません。", "negative"), ("重要な意思決定", "neutral"), ("には使用しないでください。", "")],
64
+ label="注意:"
65
  )
66
  gr.Textbox(value=filename, label="モデル:", interactive=False)
67
  # gr.Markdown(f"Model: {filename} ")