Update app.py
Browse files
app.py
CHANGED
|
@@ -374,12 +374,22 @@ You are allowed to make up film and branding names, and do them like 80's, 90's
|
|
| 374 |
print(f"An error occurred: {e}")
|
| 375 |
return f"Error occurred while processing the request: {str(e)}"
|
| 376 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 377 |
def create_interface():
|
| 378 |
prompt_generator = PromptGenerator()
|
| 379 |
huggingface_node = HuggingFaceInferenceNode()
|
| 380 |
|
| 381 |
with gr.Blocks(theme='bethecloud/storj_theme') as demo:
|
| 382 |
-
|
|
|
|
| 383 |
|
| 384 |
with gr.Row():
|
| 385 |
with gr.Column(scale=2):
|
|
|
|
| 374 |
print(f"An error occurred: {e}")
|
| 375 |
return f"Error occurred while processing the request: {str(e)}"
|
| 376 |
|
| 377 |
+
title = """<h1 align="center">FLUX Prompt Generator</h1>
|
| 378 |
+
<p><center>
|
| 379 |
+
<a href="https://github.com/dagthomas/comfyui_dagthomas" target="_blank">[comfyui_dagthomas]</a>
|
| 380 |
+
<a href="https://github.com/dagthomas" target="_blank">[dagthomas Github]</a>
|
| 381 |
+
|
| 382 |
+
<p align="center">Create long prompts from images or simple words. Enhance your short prompts with prompt enhancer.</p>
|
| 383 |
+
</center></p>
|
| 384 |
+
"""
|
| 385 |
+
|
| 386 |
def create_interface():
|
| 387 |
prompt_generator = PromptGenerator()
|
| 388 |
huggingface_node = HuggingFaceInferenceNode()
|
| 389 |
|
| 390 |
with gr.Blocks(theme='bethecloud/storj_theme') as demo:
|
| 391 |
+
|
| 392 |
+
gr.HTML(title)
|
| 393 |
|
| 394 |
with gr.Row():
|
| 395 |
with gr.Column(scale=2):
|