Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,12 +4,12 @@ from geminisearch import webSearch
|
|
| 4 |
with gr.Blocks(
|
| 5 |
theme = "upsatwal/mlsc_tiet"
|
| 6 |
) as app:
|
| 7 |
-
gr.
|
| 8 |
-
gr.
|
| 9 |
with gr.Column():
|
| 10 |
input = gr.Textbox(label="Query Field",placeholder="Type in your search query")
|
| 11 |
btn = gr.Button("Google Search")
|
| 12 |
-
gr.
|
| 13 |
output = gr.Markdown()
|
| 14 |
|
| 15 |
btn.click(webSearch, inputs=[input], outputs=output)
|
|
|
|
| 4 |
with gr.Blocks(
|
| 5 |
theme = "upsatwal/mlsc_tiet"
|
| 6 |
) as app:
|
| 7 |
+
gr.HTML("<div style='text-align:center;'><h1><strong>Gemini Web Search</strong></h1></div>")
|
| 8 |
+
gr.HTML("<div style='text-align:center;'><h3><strong>Search the web for information</strong></h3></div>")
|
| 9 |
with gr.Column():
|
| 10 |
input = gr.Textbox(label="Query Field",placeholder="Type in your search query")
|
| 11 |
btn = gr.Button("Google Search")
|
| 12 |
+
gr.HTML("<div style='text-align:center;'><h3><strong>Google Search Result</strong></h3></div>")
|
| 13 |
output = gr.Markdown()
|
| 14 |
|
| 15 |
btn.click(webSearch, inputs=[input], outputs=output)
|