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

Update app.py

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