app.py
CHANGED
|
@@ -21,5 +21,5 @@ logits = outputs.logits # shape (batch_size, num_labels, height/4, width/4)
|
|
| 21 |
def greet():
|
| 22 |
return outputs
|
| 23 |
|
| 24 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 25 |
-
iface.launch(
|
|
|
|
| 21 |
def greet():
|
| 22 |
return outputs
|
| 23 |
|
| 24 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text", share=True)
|
| 25 |
+
iface.launch()
|