Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,18 @@ class CustomTheme(gr.themes.Base):
|
|
64 |
self.text_color_secondary = "#AEB3B8"
|
65 |
self.text_color_tertiary = "#AEB3B8"
|
66 |
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
with gr.Column(elem_id="col-container"):
|
69 |
gr.Markdown("Prompt")
|
70 |
|
@@ -173,4 +184,9 @@ with gr.Blocks(theme=CustomTheme()) as demo:
|
|
173 |
)
|
174 |
|
175 |
if __name__ == "__main__":
|
176 |
-
demo.launch(
|
|
|
|
|
|
|
|
|
|
|
|
64 |
self.text_color_secondary = "#AEB3B8"
|
65 |
self.text_color_tertiary = "#AEB3B8"
|
66 |
|
67 |
+
# Custom CSS to hide the footer
|
68 |
+
css = """
|
69 |
+
footer {
|
70 |
+
visibility: hidden;
|
71 |
+
height: 0;
|
72 |
+
margin: 0;
|
73 |
+
padding: 0;
|
74 |
+
overflow: hidden;
|
75 |
+
}
|
76 |
+
"""
|
77 |
+
|
78 |
+
with gr.Blocks(theme=CustomTheme(), css=css) as demo:
|
79 |
with gr.Column(elem_id="col-container"):
|
80 |
gr.Markdown("Prompt")
|
81 |
|
|
|
184 |
)
|
185 |
|
186 |
if __name__ == "__main__":
|
187 |
+
demo.launch(
|
188 |
+
server_name="0.0.0.0",
|
189 |
+
server_port=7860,
|
190 |
+
share=True,
|
191 |
+
show_api=False
|
192 |
+
)
|