Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,9 @@ def display_next100(dataframe, end):
|
|
24 |
|
25 |
#Gradio Blocks
|
26 |
with gr.Blocks() as demo:
|
27 |
-
gr.Markdown("<h1><center>
|
28 |
gr.Markdown(
|
29 |
-
"""<div align="center">
|
30 |
|
31 |
with gr.Row():
|
32 |
num_end = gr.Number(visible=False)
|
@@ -39,6 +39,6 @@ with gr.Blocks() as demo:
|
|
39 |
b1.click(fn=display_df, outputs=out_dataframe)
|
40 |
b2.click(fn=display_next100, inputs= [out_dataframe, num_end ], outputs=[out_dataframe, num_end])
|
41 |
|
42 |
-
gr.Markdown("<center
|
43 |
|
44 |
demo.launch(debug=True, show_error=True)
|
|
|
24 |
|
25 |
#Gradio Blocks
|
26 |
with gr.Blocks() as demo:
|
27 |
+
gr.Markdown("<h1><center>AIPromptSearch</center></h1>")
|
28 |
gr.Markdown(
|
29 |
+
"""<div align="center">Images and Prompts from <a href = "https://playgroundai.com/">Playground AI</a> Images. Github:<a href="https://github.com/playgroundai/liked_images">Github</a>.""")
|
30 |
|
31 |
with gr.Row():
|
32 |
num_end = gr.Number(visible=False)
|
|
|
39 |
b1.click(fn=display_df, outputs=out_dataframe)
|
40 |
b2.click(fn=display_next100, inputs= [out_dataframe, num_end ], outputs=[out_dataframe, num_end])
|
41 |
|
42 |
+
#gr.Markdown("<center></center>")
|
43 |
|
44 |
demo.launch(debug=True, show_error=True)
|