Spaces:
Running
on
Zero
Running
on
Zero
elliesleightholm
commited on
Commit
•
702d942
1
Parent(s):
d09d79e
updating text
Browse files- app.py +2 -2
- requirements.txt +2 -1
app.py
CHANGED
@@ -99,7 +99,7 @@ def clear_fields():
|
|
99 |
|
100 |
# Gradio interface
|
101 |
title = "Ecommerce Item Classifier with Marqo-Ecommerce Embedding Models"
|
102 |
-
description = "Upload an image or provide a URL of
|
103 |
|
104 |
examples = [
|
105 |
["images/laptop.png", "Laptop"],
|
@@ -127,7 +127,7 @@ with gr.Blocks(css="""
|
|
127 |
gr.Markdown(sidebar_markdown)
|
128 |
gr.Markdown(" ", elem_id="vertical-line") # Add an empty Markdown with a custom ID
|
129 |
with gr.Column(scale=2):
|
130 |
-
input_image = gr.Image(type="pil", label="Upload
|
131 |
input_url = gr.Textbox(label="Or provide an image URL")
|
132 |
with gr.Row():
|
133 |
predict_button = gr.Button("Classify")
|
|
|
99 |
|
100 |
# Gradio interface
|
101 |
title = "Ecommerce Item Classifier with Marqo-Ecommerce Embedding Models"
|
102 |
+
description = "Upload an image or provide a URL of an ecommerce item to classify it using Marqo-Ecommerce Models!"
|
103 |
|
104 |
examples = [
|
105 |
["images/laptop.png", "Laptop"],
|
|
|
127 |
gr.Markdown(sidebar_markdown)
|
128 |
gr.Markdown(" ", elem_id="vertical-line") # Add an empty Markdown with a custom ID
|
129 |
with gr.Column(scale=2):
|
130 |
+
input_image = gr.Image(type="pil", label="Upload Ecommerce Item Image", height=312)
|
131 |
input_url = gr.Textbox(label="Or provide an image URL")
|
132 |
with gr.Row():
|
133 |
predict_button = gr.Button("Classify")
|
requirements.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
open_clip_torch
|
2 |
-
transformers
|
|
|
|
1 |
open_clip_torch
|
2 |
+
transformers
|
3 |
+
dotenv
|