Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
|
|
|
|
|
|
|
|
|
|
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 |
|