Set share=True
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
# return "Hello " + name + "!!"
|
5 |
|
6 |
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
-
# iface.launch()
|
8 |
|
9 |
import gradio as gr
|
10 |
from fastai.vision.all import *
|
@@ -25,4 +25,4 @@ examples = ['siamese.jpg']
|
|
25 |
interpretation='default'
|
26 |
enable_queue=True
|
27 |
|
28 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
|
|
4 |
# return "Hello " + name + "!!"
|
5 |
|
6 |
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
+
# iface.launch(share=True)
|
8 |
|
9 |
import gradio as gr
|
10 |
from fastai.vision.all import *
|
|
|
25 |
interpretation='default'
|
26 |
enable_queue=True
|
27 |
|
28 |
+
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch(share=True)
|