Update app.py
Browse files
app.py
CHANGED
|
@@ -387,6 +387,7 @@ def create_chatbot():
|
|
| 387 |
audio_input.stop_recording(transcribe_and_respond, [audio_input, state, role], [msg, chatbot, state, audio_output])
|
| 388 |
export_button.click(fn=handle_export, inputs=[state], outputs=[download_output], show_progress=True)
|
| 389 |
|
|
|
|
| 390 |
with gr.Tab("AI Image Generator"):
|
| 391 |
with gr.Column():
|
| 392 |
img_prompt = gr.Textbox(label="Enter your prompt for the image")
|
|
@@ -449,7 +450,13 @@ def create_chatbot():
|
|
| 449 |
graph_btn = gr.Button("Plot")
|
| 450 |
graph_output = gr.Image(type="pil")
|
| 451 |
graph_btn.click(plot_graph, graph_input, graph_output)
|
| 452 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 453 |
return demo
|
| 454 |
|
| 455 |
create_chatbot().launch()
|
|
|
|
| 387 |
audio_input.stop_recording(transcribe_and_respond, [audio_input, state, role], [msg, chatbot, state, audio_output])
|
| 388 |
export_button.click(fn=handle_export, inputs=[state], outputs=[download_output], show_progress=True)
|
| 389 |
|
| 390 |
+
|
| 391 |
with gr.Tab("AI Image Generator"):
|
| 392 |
with gr.Column():
|
| 393 |
img_prompt = gr.Textbox(label="Enter your prompt for the image")
|
|
|
|
| 450 |
graph_btn = gr.Button("Plot")
|
| 451 |
graph_output = gr.Image(type="pil")
|
| 452 |
graph_btn.click(plot_graph, graph_input, graph_output)
|
| 453 |
+
|
| 454 |
+
gr.Markdown(
|
| 455 |
+
"""<div style="font-family: 'Anton', sans-serif; font-size: 24px; color: #FFFF99; text-align: center; margin-top: 20px;">
|
| 456 |
+
PRIME
|
| 457 |
+
</div>"""
|
| 458 |
+
)
|
| 459 |
+
|
| 460 |
return demo
|
| 461 |
|
| 462 |
create_chatbot().launch()
|