Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -113,15 +113,15 @@ topics = """
|
|
113 |
"""
|
114 |
|
115 |
# Setup the Gradio Blocks interface with custom layout components
|
116 |
-
with gr.Blocks(theme='
|
117 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
118 |
with gr.Row():
|
119 |
with gr.Column():
|
120 |
gr.Markdown(topics) # Show the topics on the left side
|
121 |
with gr.Row():
|
122 |
with gr.Column():
|
123 |
-
question = gr.Textbox(label="
|
124 |
-
answer = gr.Textbox(label="
|
125 |
submit_button = gr.Button("Submit")
|
126 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
127 |
|
|
|
113 |
"""
|
114 |
|
115 |
# Setup the Gradio Blocks interface with custom layout components
|
116 |
+
with gr.Blocks(theme='HaleyCH/HaleyCH_Theme') as demo:
|
117 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
118 |
with gr.Row():
|
119 |
with gr.Column():
|
120 |
gr.Markdown(topics) # Show the topics on the left side
|
121 |
with gr.Row():
|
122 |
with gr.Column():
|
123 |
+
question = gr.Textbox(label="Celebrity Attributes", placeholder="Describe the celebrity you want")
|
124 |
+
answer = gr.Textbox(label="CelebrityFinder Response", placeholder="CelebrityFinder will respond here", interactive=False, lines=10)
|
125 |
submit_button = gr.Button("Submit")
|
126 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
127 |
|