lakshmivairamani commited on
Commit
6a962ff
·
verified ·
1 Parent(s): 0969475

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -215,14 +215,15 @@ def answer_question(user_question, city="United Arab Emirates"):
215
  response_text = response_text.replace('\n', ' ').replace(' ', ' ').strip()
216
 
217
  return response_text
218
-
219
  # Create the Gradio interface
220
  iface = gr.Interface(
221
  fn=answer_question,
222
  inputs="text",
223
  outputs="text",
224
  title="Chat with your data",
225
- description="Ask a question about the database or API or a document and get a response in natural language."
 
226
  )
227
 
228
  # Launch the Gradio interface
 
215
  response_text = response_text.replace('\n', ' ').replace(' ', ' ').strip()
216
 
217
  return response_text
218
+ css_code='body{background-image:url("https://picsum.photos/seed/picsum/200/300");}'
219
  # Create the Gradio interface
220
  iface = gr.Interface(
221
  fn=answer_question,
222
  inputs="text",
223
  outputs="text",
224
  title="Chat with your data",
225
+ description="Ask a question about the database or API or a document and get a response in natural language.",
226
+ css=css_code
227
  )
228
 
229
  # Launch the Gradio interface