Spaces:
Runtime error
Runtime error
taratrankennedy
commited on
Commit
•
b6fe238
1
Parent(s):
2946f31
Add theme
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ topics = """
|
|
114 |
"""
|
115 |
|
116 |
# Setup the Gradio Blocks interface with custom layout components
|
117 |
-
with gr.Blocks() as demo:
|
118 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
119 |
with gr.Row():
|
120 |
with gr.Column():
|
@@ -127,7 +127,7 @@ with gr.Blocks() as demo:
|
|
127 |
answer = gr.Textbox(label="ChessBot Response", placeholder="ChessBot will respond here...", interactive=False, lines=10)
|
128 |
submit_button = gr.Button("Submit")
|
129 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
130 |
-
|
131 |
|
132 |
# Launch the Gradio app to allow user interaction
|
133 |
demo.launch(share=True)
|
|
|
114 |
"""
|
115 |
|
116 |
# Setup the Gradio Blocks interface with custom layout components
|
117 |
+
with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
118 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
119 |
with gr.Row():
|
120 |
with gr.Column():
|
|
|
127 |
answer = gr.Textbox(label="ChessBot Response", placeholder="ChessBot will respond here...", interactive=False, lines=10)
|
128 |
submit_button = gr.Button("Submit")
|
129 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
130 |
+
|
131 |
|
132 |
# Launch the Gradio app to allow user interaction
|
133 |
demo.launch(share=True)
|