Yohan Runhaar commited on
Commit
1570cf6
Β·
1 Parent(s): d5cc629

hide graph output

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -143,7 +143,7 @@ inputs = [
143
 
144
  outputs = [
145
  gr.Image(type="numpy", label="Segmented Image"),
146
- gr.Image(type="filepath", label="Class Coverage Graph"),
147
  ]
148
 
149
  # Icons with links
@@ -168,7 +168,7 @@ examples = generate_examples()
168
 
169
  demo_app = gr.Blocks()
170
 
171
- with demo_app:
172
  gr.Markdown(icons)
173
  gr.Interface(
174
  fn=coral_ai_inference,
@@ -179,4 +179,4 @@ with demo_app:
179
  cache_examples=True,
180
  )
181
 
182
- demo_app.queue().launch(debug=True)
 
143
 
144
  outputs = [
145
  gr.Image(type="numpy", label="Segmented Image"),
146
+ # gr.Image(type="filepath", label="Class Coverage Graph"),
147
  ]
148
 
149
  # Icons with links
 
168
 
169
  demo_app = gr.Blocks()
170
 
171
+ with gr.Blocks() as demo:
172
  gr.Markdown(icons)
173
  gr.Interface(
174
  fn=coral_ai_inference,
 
179
  cache_examples=True,
180
  )
181
 
182
+ demo.queue().launch(debug=True, share=True)