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