Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ theme = gr.themes.Monochrome(
|
|
162 |
).set(
|
163 |
body_text_color='#064381',
|
164 |
body_text_color_dark='#000000',
|
165 |
-
background_fill_primary='#
|
166 |
background_fill_primary_dark='#81A4CD',
|
167 |
background_fill_secondary='#884e4c', # BUTTON HOVER
|
168 |
background_fill_secondary_dark='#EDDEC0', #LOADING BAR
|
@@ -196,7 +196,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
196 |
gr.Markdown(headline)
|
197 |
question = gr.Textbox(label="Your question:", placeholder="What do you want to ask about?")
|
198 |
submit_button = gr.Button("Submit!")
|
199 |
-
answer = gr.Textbox(label="AI-nswer:", placeholder="
|
200 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
201 |
gr.Image("einy.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image", scale=0, width=500)
|
202 |
|
|
|
162 |
).set(
|
163 |
body_text_color='#064381',
|
164 |
body_text_color_dark='#000000',
|
165 |
+
background_fill_primary='#9FC6F4', # BACKGROUND
|
166 |
background_fill_primary_dark='#81A4CD',
|
167 |
background_fill_secondary='#884e4c', # BUTTON HOVER
|
168 |
background_fill_secondary_dark='#EDDEC0', #LOADING BAR
|
|
|
196 |
gr.Markdown(headline)
|
197 |
question = gr.Textbox(label="Your question:", placeholder="What do you want to ask about?")
|
198 |
submit_button = gr.Button("Submit!")
|
199 |
+
answer = gr.Textbox(label="AI-nswer:", placeholder="Hello, World! \nAsk me anything about AI ML, and helpful tools you may want to use!", interactive=False, lines=10)
|
200 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
201 |
gr.Image("einy.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image", scale=0, width=500)
|
202 |
|