ChaoticEconomist commited on
Commit
a736086
·
verified ·
1 Parent(s): 2e5ba5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -225,7 +225,7 @@ CSS = """
225
  .var-panel {font-size: 12px; line-height: 1.8;}
226
  """
227
 
228
- with gr.Blocks(css=CSS, title="GrokFlow — AI App Builder") as demo:
229
 
230
  state = gr.State(json.dumps(empty_state()))
231
 
@@ -563,4 +563,4 @@ with gr.Blocks(css=CSS, title="GrokFlow — AI App Builder") as demo:
563
  r["chat_send"].click(make_chat_fn(i), inputs=[state, r["chat_input"]], outputs=[state]+all_outputs)
564
  r["chat_input"].submit(make_chat_fn(i), inputs=[state, r["chat_input"]], outputs=[state]+all_outputs)
565
 
566
- demo.launch()
 
225
  .var-panel {font-size: 12px; line-height: 1.8;}
226
  """
227
 
228
+ with gr.Blocks(title="Grokflow — AI App Builder") as demo:
229
 
230
  state = gr.State(json.dumps(empty_state()))
231
 
 
563
  r["chat_send"].click(make_chat_fn(i), inputs=[state, r["chat_input"]], outputs=[state]+all_outputs)
564
  r["chat_input"].submit(make_chat_fn(i), inputs=[state, r["chat_input"]], outputs=[state]+all_outputs)
565
 
566
+ demo.launch(server_name="0.0.0.0", server_port=7860, css=CSS)