Spaces:
Sleeping
Sleeping
Sebastiankay
commited on
Commit
•
e0d7d77
1
Parent(s):
01e4a5d
Update app.py
Browse files
app.py
CHANGED
@@ -336,5 +336,15 @@ with gr.Blocks(theme=theme, head=custom_head, css=custom_css, js=custom_js, titl
|
|
336 |
enhance_prompt_button.click(fn=groq_enhance_process, inputs=[text_prompt], outputs=[text_prompt], show_api=False)
|
337 |
random_prompt_button.click(fn=groq_enhance_process, inputs=None, outputs=[text_prompt], show_api=False)
|
338 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
# MARK: Gradio LAUNCH
|
340 |
demo.launch(show_api=True)
|
|
|
336 |
enhance_prompt_button.click(fn=groq_enhance_process, inputs=[text_prompt], outputs=[text_prompt], show_api=False)
|
337 |
random_prompt_button.click(fn=groq_enhance_process, inputs=None, outputs=[text_prompt], show_api=False)
|
338 |
|
339 |
+
kofi = gr.HTML("""<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
|
340 |
+
<script>
|
341 |
+
kofiWidgetOverlay.draw('sebastiankay', {
|
342 |
+
'type': 'floating-chat',
|
343 |
+
'floating-chat.donateButton.text': 'Tip Me',
|
344 |
+
'floating-chat.donateButton.background-color': '#ff5f5f',
|
345 |
+
'floating-chat.donateButton.text-color': '#fff'
|
346 |
+
});
|
347 |
+
</script>""")
|
348 |
+
|
349 |
# MARK: Gradio LAUNCH
|
350 |
demo.launch(show_api=True)
|