“JYH96”
commited on
Commit
·
52d8fc4
1
Parent(s):
5859937
123
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ def greet(img):
|
|
13 |
print(results)
|
14 |
return results
|
15 |
|
16 |
-
demo = gr.Interface(fn=greet, inputs="
|
17 |
|
18 |
if __name__ == "__main__":
|
19 |
-
demo.launch(show_api=False, share=True)
|
|
|
|
13 |
print(results)
|
14 |
return results
|
15 |
|
16 |
+
demo = gr.Interface(fn=greet, inputs="image", outputs="text")
|
17 |
|
18 |
if __name__ == "__main__":
|
19 |
+
demo.launch(show_api=False, share=True)
|
20 |
+
|