bewil1990 commited on
Commit
5226a85
1 Parent(s): c3f77dd

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -36,7 +36,7 @@ enable_queue=True
36
  #
37
  ## gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
38
  #
39
- gr.Interface(
40
  fn=predict,
41
  inputs=gr.inputs.Image(shape=(512, 512)),
42
  outputs=gr.outputs.Label(),
@@ -44,5 +44,7 @@ gr.Interface(
44
  description=description,
45
  examples=examples,
46
  cache_examples=True,
47
- examples_per_page=2,
48
- enable_queue=enable_queue).launch(share=True)
 
 
 
36
  #
37
  ## gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
38
  #
39
+ inter = gr.Interface(
40
  fn=predict,
41
  inputs=gr.inputs.Image(shape=(512, 512)),
42
  outputs=gr.outputs.Label(),
 
44
  description=description,
45
  examples=examples,
46
  cache_examples=True,
47
+ examples_per_page=2)
48
+
49
+ inter.queue()
50
+ inter.launch()