Spaces:
Running
Running
textbox
Browse files
app.py
CHANGED
@@ -93,7 +93,8 @@ For test upload your image and wait. Read more at model card <a href='https://hu
|
|
93 |
examples = [['./input.jpg'],]
|
94 |
# output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
|
95 |
# demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
|
96 |
-
|
|
|
97 |
|
98 |
if __name__ == "__main__":
|
99 |
demo.launch(share=False)
|
|
|
93 |
examples = [['./input.jpg'],]
|
94 |
# output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
|
95 |
# demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
|
96 |
+
|
97 |
+
demo = gr.Interface(fn=process,inputs=gr.Textbox(label="Text or Image URL", interactive=True), outputs="image", examples=examples, title=title, description=description)
|
98 |
|
99 |
if __name__ == "__main__":
|
100 |
demo.launch(share=False)
|