Spaces:
Sleeping
Sleeping
Update langchain_movie_search.py
Browse files
langchain_movie_search.py
CHANGED
|
@@ -92,15 +92,15 @@ class MoviesSearch:
|
|
| 92 |
gr.Markdown("# Generate Movie Plot using Vector Search + RAG")
|
| 93 |
with gr.Row():
|
| 94 |
textbox = gr.Textbox(label="Enter your prompt here:", lines=1,
|
| 95 |
-
placeholder="e.g. Generate a movie where a couple
|
| 96 |
with gr.Row():
|
| 97 |
button = gr.Button("Generate")
|
| 98 |
with gr.Column():
|
| 99 |
output = gr.Textbox(interactive=False,
|
| 100 |
-
|
|
|
|
|
|
|
| 101 |
autoscroll=False,
|
| 102 |
-
show_label=True,
|
| 103 |
-
show_copy_button=True,
|
| 104 |
)
|
| 105 |
|
| 106 |
button.click(fn=self.query_data, inputs=textbox, outputs=[output])
|
|
|
|
| 92 |
gr.Markdown("# Generate Movie Plot using Vector Search + RAG")
|
| 93 |
with gr.Row():
|
| 94 |
textbox = gr.Textbox(label="Enter your prompt here:", lines=1,
|
| 95 |
+
placeholder="e.g. Generate a movie where a couple discover love during a war")
|
| 96 |
with gr.Row():
|
| 97 |
button = gr.Button("Generate")
|
| 98 |
with gr.Column():
|
| 99 |
output = gr.Textbox(interactive=False,
|
| 100 |
+
placeholder="Your Movie Plot will be displayed here. "
|
| 101 |
+
"Don't forget to invite us to your movie premier! :)",
|
| 102 |
+
show_label=False,
|
| 103 |
autoscroll=False,
|
|
|
|
|
|
|
| 104 |
)
|
| 105 |
|
| 106 |
button.click(fn=self.query_data, inputs=textbox, outputs=[output])
|