Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -158,9 +158,7 @@ if __name__ == '__main__':
|
|
158 |
inputs=[gr.Textbox(lines=2, placeholder="Enter a prompt for descriptions..."), gr.Textbox(lines=2, placeholder='Enter seed words in quotes, e.g., "cat", "dog", "sunset"...')],
|
159 |
outputs=[gr.Textbox(label="Generated Descriptions"), gr.Gallery(label="Generated Images")],
|
160 |
live=False, # Set live to False
|
161 |
-
allow_flagging='never'
|
162 |
-
allow_screenshot=False, # Disable screenshots
|
163 |
-
clear_button=True # Add a clear button
|
164 |
)
|
165 |
|
166 |
-
interface.launch(share=True)
|
|
|
158 |
inputs=[gr.Textbox(lines=2, placeholder="Enter a prompt for descriptions..."), gr.Textbox(lines=2, placeholder='Enter seed words in quotes, e.g., "cat", "dog", "sunset"...')],
|
159 |
outputs=[gr.Textbox(label="Generated Descriptions"), gr.Gallery(label="Generated Images")],
|
160 |
live=False, # Set live to False
|
161 |
+
allow_flagging='never' # Disable flagging
|
|
|
|
|
162 |
)
|
163 |
|
164 |
+
interface.launch(share=True)
|