Yntec commited on
Commit
78d9d91
1 Parent(s): 25cc0b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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/HuggingfaceDiffusion/resolve/main/protest.png"
82
  result = image
83
  finally:
84
  loop.close()
85
  return result
86
 
87
- with gr.Blocks(theme='Yntec/HaleyCH_Theme_Orange') as demo:
88
- with gr.Tab('🤗 November 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():
 
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():