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