Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,6 @@ import random
|
|
6 |
#import transformers
|
7 |
#from transformers import pipeline
|
8 |
|
9 |
-
gr.themes.builder()
|
10 |
-
|
11 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
12 |
|
13 |
# Initialize paths and model identifiers for easy configuration and maintenance
|
@@ -160,7 +158,7 @@ theme = gr.themes.Monochrome(
|
|
160 |
button_primary_background_fill='#054A91',
|
161 |
button_primary_background_fill_dark='#054A91'
|
162 |
)
|
163 |
-
|
164 |
# Setup the Gradio Blocks interface with custom layout components
|
165 |
with gr.Blocks(theme=theme, neutral_hue=gr.themes.colors.zinc) as demo:
|
166 |
gr.Image("ally.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image", scale=0, width=500)
|
|
|
6 |
#import transformers
|
7 |
#from transformers import pipeline
|
8 |
|
|
|
|
|
9 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
10 |
|
11 |
# Initialize paths and model identifiers for easy configuration and maintenance
|
|
|
158 |
button_primary_background_fill='#054A91',
|
159 |
button_primary_background_fill_dark='#054A91'
|
160 |
)
|
161 |
+
gr.themes.builder()
|
162 |
# Setup the Gradio Blocks interface with custom layout components
|
163 |
with gr.Blocks(theme=theme, neutral_hue=gr.themes.colors.zinc) as demo:
|
164 |
gr.Image("ally.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image", scale=0, width=500)
|