twarner commited on
Commit
e037631
·
1 Parent(s): b7437fe
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -361,8 +361,8 @@ iface = gr.Interface(
361
  ),
362
  outputs=[
363
  gr.Textbox(
364
- label="Analysis Results",
365
- placeholder="Upload an fMRI scan to begin analysis...",
366
  lines=10
367
  ),
368
  gr.Plot(label="Neural Activity Analysis")
@@ -394,4 +394,11 @@ iface = gr.Interface(
394
  cache_examples=False
395
  )
396
 
 
 
 
 
 
 
 
397
  app = gr.mount_gradio_app(iface)
 
361
  ),
362
  outputs=[
363
  gr.Textbox(
364
+ label="Analysis Results",
365
+ placeholder="upload fMRI scan to begin...",
366
  lines=10
367
  ),
368
  gr.Plot(label="Neural Activity Analysis")
 
394
  cache_examples=False
395
  )
396
 
397
+ if __name__ == "__main__":
398
+ iface.launch(
399
+ server_name="0.0.0.0",
400
+ server_port=7860,
401
+ share=False
402
+ )
403
+
404
  app = gr.mount_gradio_app(iface)