sawac commited on
Commit
42bba8a
·
verified ·
1 Parent(s): 680f800

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -58,7 +58,12 @@ def greet(prompt, temperature):
58
 
59
  with gr.Blocks() as demo:
60
  gr.Markdown(f"# LLMチャットボット(Streaming)")
61
- gr.HighlightedText(f"Model: {filename} ")
 
 
 
 
 
62
 
63
  loading_status = gr.Textbox(label="Loading Status")
64
 
 
58
 
59
  with gr.Blocks() as demo:
60
  gr.Markdown(f"# LLMチャットボット(Streaming)")
61
+ gr.HighlightedText(
62
+ value=[("これは", None), ("ハイライト", "positive"), ("された", None), ("テキスト", "negative"), ("です。", None)],
63
+ label="ハイライトテキスト"
64
+ )
65
+ gr.Textbox(value="これは読み取り専用のテキストボックスです。", label="情報", interactive=False)
66
+ gr.Markdown(f"Model: {filename} ")
67
 
68
  loading_status = gr.Textbox(label="Loading Status")
69