Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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),
|
63 |
-
("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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} ")
|