Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ links=["https://chatgpt.com/","https://www.grammarly.com/","https://www.any.do/"
|
|
129 |
link = random.choice(links)
|
130 |
|
131 |
link_gen ='''
|
132 |
-
#
|
133 |
'''
|
134 |
|
135 |
#def get_random_link():
|
@@ -216,7 +216,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
216 |
answer = gr.Textbox(label="AI-nswer:", placeholder="Hello, World! \nAsk me anything about AI ML, and helpful tools you may want to use!", interactive=False, lines=10)
|
217 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
218 |
gr.Image("einy.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image", scale=0, width=500)
|
219 |
-
gr.Markdown("Look what Albot found:")
|
220 |
gr.Markdown(link_gen)
|
221 |
#portal_button = gr.Button("What examples of AI are there?")
|
222 |
#portal_button.click(fn=get_random_link, inputs=[], outputs=link)
|
|
|
129 |
link = random.choice(links)
|
130 |
|
131 |
link_gen ='''
|
132 |
+
# {link}
|
133 |
'''
|
134 |
|
135 |
#def get_random_link():
|
|
|
216 |
answer = gr.Textbox(label="AI-nswer:", placeholder="Hello, World! \nAsk me anything about AI ML, and helpful tools you may want to use!", interactive=False, lines=10)
|
217 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
218 |
gr.Image("einy.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image", scale=0, width=500)
|
219 |
+
gr.Markdown("### Look what Albot found:")
|
220 |
gr.Markdown(link_gen)
|
221 |
#portal_button = gr.Button("What examples of AI are there?")
|
222 |
#portal_button.click(fn=get_random_link, inputs=[], outputs=link)
|