Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
·
737a272
1
Parent(s):
70f68f7
Update app.py
Browse files
app.py
CHANGED
@@ -104,27 +104,17 @@ def send_it8(inputs, noise_level, proc1=proc1):
|
|
104 |
return output8
|
105 |
|
106 |
|
107 |
-
|
108 |
with gr.Row():
|
|
|
109 |
input_text=gr.Textbox(label="Short Prompt")
|
110 |
see_prompts=gr.Button("Magic Prompt")
|
111 |
with gr.Row():
|
112 |
-
prompt=gr.Textbox(label="Enter Prompt")
|
113 |
-
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
114 |
|
115 |
-
|
116 |
-
with gr.Blocks() as myface:
|
117 |
-
see_prompts = gr.Button("Magic Prompt")
|
118 |
-
with gr.Row():
|
119 |
-
input_text=gr.Textbox(label="Short Prompt")
|
120 |
-
with gr.Row():
|
121 |
prompt=gr.Textbox(label="Enter Prompt")
|
122 |
-
magic_prompt_section()
|
123 |
-
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
124 |
-
|
125 |
-
with gr.Row():
|
126 |
noise_level=gr.Slider(minimum=0.1, maximum=3, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
|
127 |
run=gr.Button("Generate")
|
|
|
128 |
with gr.Row():
|
129 |
like_message = gr.Button("❤️❤️❤️ Press the Like Button if you enjoy my space! ❤️❤️❤️")
|
130 |
|
|
|
104 |
return output8
|
105 |
|
106 |
|
107 |
+
with gr.Blocks() as myface:
|
108 |
with gr.Row():
|
109 |
+
|
110 |
input_text=gr.Textbox(label="Short Prompt")
|
111 |
see_prompts=gr.Button("Magic Prompt")
|
112 |
with gr.Row():
|
|
|
|
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
prompt=gr.Textbox(label="Enter Prompt")
|
|
|
|
|
|
|
|
|
115 |
noise_level=gr.Slider(minimum=0.1, maximum=3, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
|
116 |
run=gr.Button("Generate")
|
117 |
+
|
118 |
with gr.Row():
|
119 |
like_message = gr.Button("❤️❤️❤️ Press the Like Button if you enjoy my space! ❤️❤️❤️")
|
120 |
|