Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ 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():
|
|
@@ -121,7 +121,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
| 121 |
with gr.Row():
|
| 122 |
with gr.Column():
|
| 123 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
| 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=theme='HaleyCH/HaleyCH_Theme') as demo:
|
| 117 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
| 118 |
with gr.Row():
|
| 119 |
with gr.Column():
|
|
|
|
| 121 |
with gr.Row():
|
| 122 |
with gr.Column():
|
| 123 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
| 124 |
+
answer = gr.Textbox(label="FirstGenGuide Response", placeholder="FirstGen Guide 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 |
|