Tesneem commited on
Commit
fed5fe3
1 Parent(s): bea07d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -53,7 +53,9 @@ def vector_search(query):
53
  # Gradio Interface
54
  def movie_search(query):
55
  return vector_search(query)
56
- with gr.Blocks(title="Netflix Recommendation System", description="Enter a query to receive Netflix show recommendations based on title, description, and genre.") as demo:
 
 
57
  query = gr.Textbox(label="Enter your query")
58
  output = gr.Textbox(label="Recommendations")
59
  submit_button = gr.Button("Submit")
@@ -62,6 +64,7 @@ with gr.Blocks(title="Netflix Recommendation System", description="Enter a query
62
 
63
  demo.launch()
64
 
 
65
  # iface = gr.Interface(fn=movie_search,
66
  # inputs=gr.inputs.Textbox(label="Enter your query"),
67
  # outputs="text",
 
53
  # Gradio Interface
54
  def movie_search(query):
55
  return vector_search(query)
56
+ with gr.Blocks() as demo:
57
+ gr.Markdown("# Netflix Recommendation System")
58
+ gr.Markdown("Enter a query to receive Netflix show recommendations based on title, description, and genre.")
59
  query = gr.Textbox(label="Enter your query")
60
  output = gr.Textbox(label="Recommendations")
61
  submit_button = gr.Button("Submit")
 
64
 
65
  demo.launch()
66
 
67
+
68
  # iface = gr.Interface(fn=movie_search,
69
  # inputs=gr.inputs.Textbox(label="Enter your query"),
70
  # outputs="text",