Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -181,7 +181,7 @@ CSS = """
|
|
| 181 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 182 |
"""
|
| 183 |
|
| 184 |
-
with gr.Blocks(
|
| 185 |
with gr.Column(elem_id="col-container"):
|
| 186 |
gr.Markdown(
|
| 187 |
"""
|
|
@@ -225,7 +225,7 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
|
|
| 225 |
"(the authors' math-reasoning prompt)",
|
| 226 |
)
|
| 227 |
with gr.Column(scale=1):
|
| 228 |
-
answer_out = gr.Textbox(label="Answer", lines=8
|
| 229 |
|
| 230 |
gr.Examples(
|
| 231 |
examples=[
|
|
@@ -250,4 +250,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
|
|
| 250 |
concurrency_limit=1,
|
| 251 |
)
|
| 252 |
|
| 253 |
-
demo.launch(mcp_server=True)
|
|
|
|
| 181 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 182 |
"""
|
| 183 |
|
| 184 |
+
with gr.Blocks() as demo:
|
| 185 |
with gr.Column(elem_id="col-container"):
|
| 186 |
gr.Markdown(
|
| 187 |
"""
|
|
|
|
| 225 |
"(the authors' math-reasoning prompt)",
|
| 226 |
)
|
| 227 |
with gr.Column(scale=1):
|
| 228 |
+
answer_out = gr.Textbox(label="Answer", lines=8)
|
| 229 |
|
| 230 |
gr.Examples(
|
| 231 |
examples=[
|
|
|
|
| 250 |
concurrency_limit=1,
|
| 251 |
)
|
| 252 |
|
| 253 |
+
demo.launch(mcp_server=True, theme=gr.themes.Citrus(), css=CSS)
|