Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -390,20 +390,11 @@ You are allowed to make up film and branding names, and do them like 80's, 90's
|
|
390 |
print(f"An error occurred: {e}")
|
391 |
return f"Error occurred while processing the request: {str(e)}"
|
392 |
|
393 |
-
title = """<h1 align="center">FLUX Prompt Generator</h1>
|
394 |
-
<p><center>
|
395 |
-
<a href="https://x.com/gokayfem" target="_blank">[X gokaygokay]</a>
|
396 |
-
<a href="https://github.com/gokayfem" target="_blank">[Github gokayfem]</a>
|
397 |
-
<a href="https://github.com/dagthomas/comfyui_dagthomas" target="_blank">[comfyui_dagthomas]</a>
|
398 |
-
<p align="center">Create long prompts from images or simple words. Enhance your short prompts with prompt enhancer.</p>
|
399 |
-
</center></p>
|
400 |
-
"""
|
401 |
-
|
402 |
def create_interface():
|
403 |
prompt_generator = PromptGenerator()
|
404 |
huggingface_node = HuggingFaceInferenceNode()
|
405 |
|
406 |
-
with gr.Blocks(theme=
|
407 |
|
408 |
gr.HTML(title)
|
409 |
|
|
|
390 |
print(f"An error occurred: {e}")
|
391 |
return f"Error occurred while processing the request: {str(e)}"
|
392 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
393 |
def create_interface():
|
394 |
prompt_generator = PromptGenerator()
|
395 |
huggingface_node = HuggingFaceInferenceNode()
|
396 |
|
397 |
+
with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
398 |
|
399 |
gr.HTML(title)
|
400 |
|