Tesneem commited on
Commit
54ea708
1 Parent(s): 10f042b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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")