mardor commited on
Commit
04d4c56
·
verified ·
1 Parent(s): b663ef7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -122,6 +122,7 @@ Fundraising and organizing events
122
  """
123
 
124
  # Setup the Gradio Blocks interface with custom layout components
 
125
  with gr.Blocks(theme= 'ParityError/Anime@>=1.0.0,<2.0.0') as demo:
126
  gr.Markdown(welcome_message) # Display the formatted welcome message
127
  with gr.Row():
@@ -130,7 +131,7 @@ with gr.Blocks(theme= 'ParityError/Anime@>=1.0.0,<2.0.0') as demo:
130
  with gr.Row():
131
  with gr.Column():
132
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
133
- answer = gr.Textbox(label="ChessBot Response", placeholder="Connect2ResourceBot will respond here...", interactive=False, lines=10)
134
  submit_button = gr.Button("Submit")
135
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
136
 
 
122
  """
123
 
124
  # Setup the Gradio Blocks interface with custom layout components
125
+ theme = 'ParityError/Anime@>=1.0.0,<2.0.0'
126
  with gr.Blocks(theme= 'ParityError/Anime@>=1.0.0,<2.0.0') as demo:
127
  gr.Markdown(welcome_message) # Display the formatted welcome message
128
  with gr.Row():
 
131
  with gr.Row():
132
  with gr.Column():
133
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
134
+ answer = gr.Textbox(label="Connect2ResourceBot Response", placeholder="Connect2ResourceBot will respond here...", interactive=False, lines=10)
135
  submit_button = gr.Button("Submit")
136
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
137