Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,9 @@ from huggingface_hub import InferenceClient
|
|
3 |
from gradio_client import Client
|
4 |
import re
|
5 |
|
|
|
|
|
|
|
6 |
# Load custom CSS
|
7 |
with open('style.css') as f:
|
8 |
st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)
|
@@ -83,7 +86,6 @@ def generate_image(prompt):
|
|
83 |
return None
|
84 |
|
85 |
def main():
|
86 |
-
st.set_page_config(layout="wide")
|
87 |
st.title("Enhanced Waifu Character Generator")
|
88 |
|
89 |
# User inputs
|
|
|
3 |
from gradio_client import Client
|
4 |
import re
|
5 |
|
6 |
+
# Set the page config
|
7 |
+
st.set_page_config(layout="wide")
|
8 |
+
|
9 |
# Load custom CSS
|
10 |
with open('style.css') as f:
|
11 |
st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)
|
|
|
86 |
return None
|
87 |
|
88 |
def main():
|
|
|
89 |
st.title("Enhanced Waifu Character Generator")
|
90 |
|
91 |
# User inputs
|