Update app.py
Browse files
app.py
CHANGED
@@ -210,7 +210,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
210 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
211 |
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)
|
212 |
portal_button = gr.Button("Bring me to a cool example of AI!")
|
213 |
-
portal_button.click(fn=get_random_link, inputs=[], outputs=
|
214 |
#interface = gr.Interface(fn=create_random_link, inputs=[], outputs="html")
|
215 |
#interface.launch()
|
216 |
|
|
|
210 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
211 |
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)
|
212 |
portal_button = gr.Button("Bring me to a cool example of AI!")
|
213 |
+
portal_button.click(fn=get_random_link, inputs=[], outputs=none)
|
214 |
#interface = gr.Interface(fn=create_random_link, inputs=[], outputs="html")
|
215 |
#interface.launch()
|
216 |
|