Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,8 @@ with gr.Blocks(title="NuMarkdown-8B-Thinking", theme=gr.themes.Soft(), css="""
|
|
| 117 |
show_label=False,
|
| 118 |
placeholder="The model's reasoning process will appear here..."
|
| 119 |
)
|
| 120 |
-
|
|
|
|
| 121 |
with gr.TabItem("π Raw Markdown"):
|
| 122 |
raw_answer = gr.Textbox(
|
| 123 |
lines=15,
|
|
@@ -125,8 +126,6 @@ with gr.Blocks(title="NuMarkdown-8B-Thinking", theme=gr.themes.Soft(), css="""
|
|
| 125 |
show_label=False,
|
| 126 |
placeholder="The raw model output will appear here..."
|
| 127 |
)
|
| 128 |
-
with gr.TabItem("π Rendered Markdown"):
|
| 129 |
-
output = gr.Markdown(label="π Generated Markdown")
|
| 130 |
|
| 131 |
btn.click(
|
| 132 |
query_vllm_api,
|
|
|
|
| 117 |
show_label=False,
|
| 118 |
placeholder="The model's reasoning process will appear here..."
|
| 119 |
)
|
| 120 |
+
with gr.TabItem("π Rendered Markdown"):
|
| 121 |
+
output = gr.Markdown(label="π Generated Markdown")
|
| 122 |
with gr.TabItem("π Raw Markdown"):
|
| 123 |
raw_answer = gr.Textbox(
|
| 124 |
lines=15,
|
|
|
|
| 126 |
show_label=False,
|
| 127 |
placeholder="The raw model output will appear here..."
|
| 128 |
)
|
|
|
|
|
|
|
| 129 |
|
| 130 |
btn.click(
|
| 131 |
query_vllm_api,
|