multimodalart HF Staff commited on
Commit
6598920
·
verified ·
1 Parent(s): 6f9a92a

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -122,7 +122,7 @@ step-by-step about the page and proposes the next action.
122
  [Code](https://github.com/Gnonymous/Web-CogReasoner)
123
  """
124
 
125
- with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
126
  with gr.Column(elem_id="col-container"):
127
  gr.Markdown(INTRO)
128
  with gr.Row():
@@ -138,7 +138,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
138
  output = gr.Textbox(
139
  label="Cognitive reasoning & next action",
140
  lines=20,
141
- show_copy_button=True,
142
  )
143
 
144
  with gr.Accordion("Advanced settings", open=False):
@@ -173,4 +172,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
173
  )
174
 
175
  if __name__ == "__main__":
176
- demo.launch(mcp_server=True)
 
122
  [Code](https://github.com/Gnonymous/Web-CogReasoner)
123
  """
124
 
125
+ with gr.Blocks() as demo:
126
  with gr.Column(elem_id="col-container"):
127
  gr.Markdown(INTRO)
128
  with gr.Row():
 
138
  output = gr.Textbox(
139
  label="Cognitive reasoning & next action",
140
  lines=20,
 
141
  )
142
 
143
  with gr.Accordion("Advanced settings", open=False):
 
172
  )
173
 
174
  if __name__ == "__main__":
175
+ demo.launch(theme=gr.themes.Citrus(), css=CSS, mcp_server=True)