Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ with gr.Blocks() as demo:
|
|
59 |
gr.Markdown("# Netflix Recommendation System")
|
60 |
gr.Markdown("Enter a query to receive Netflix show recommendations based on title, description, and genre.")
|
61 |
with gr.Row():
|
62 |
-
image_input = gr.Image(label="Upload Image", type="pil") # Image input
|
63 |
-
text_input = gr.Textbox(label="Enter Text Query", placeholder="Enter a description or query here") # Text input
|
64 |
|
65 |
submit_button = gr.Button("Submit")
|
66 |
output = gr.Textbox(label="Recommendations")
|
|
|
59 |
gr.Markdown("# Netflix Recommendation System")
|
60 |
gr.Markdown("Enter a query to receive Netflix show recommendations based on title, description, and genre.")
|
61 |
with gr.Row():
|
62 |
+
image_input = gr.Image(label="Upload Image", type="pil", optional=True) # Image input
|
63 |
+
text_input = gr.Textbox(label="Enter Text Query", placeholder="Enter a description or query here", optional=True) # Text input
|
64 |
|
65 |
submit_button = gr.Button("Submit")
|
66 |
output = gr.Textbox(label="Recommendations")
|