Update app.py
Browse files
app.py
CHANGED
@@ -78,14 +78,14 @@ def gen_fnseed(model_str, prompt, seed=1):
|
|
78 |
print(f"Task aborted: {model_str}")
|
79 |
result = None
|
80 |
with lock:
|
81 |
-
image = "https://huggingface.co/spaces/Yntec/
|
82 |
result = image
|
83 |
finally:
|
84 |
loop.close()
|
85 |
return result
|
86 |
|
87 |
-
with gr.Blocks(theme='Yntec/
|
88 |
-
with gr.Tab('🤗
|
89 |
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
90 |
gen_button = gr.Button('Generate up to 9 images in up to 3 minutes total')
|
91 |
with gr.Row():
|
|
|
78 |
print(f"Task aborted: {model_str}")
|
79 |
result = None
|
80 |
with lock:
|
81 |
+
image = "https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/error.png"
|
82 |
result = image
|
83 |
finally:
|
84 |
loop.close()
|
85 |
return result
|
86 |
|
87 |
+
with gr.Blocks(theme='Yntec/HaleyCH_Theme_Winter_Green') as demo:
|
88 |
+
with gr.Tab('🤗 December 2024 is the date this space was launched 🤗'):
|
89 |
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
90 |
gen_button = gr.Button('Generate up to 9 images in up to 3 minutes total')
|
91 |
with gr.Row():
|