enstazao commited on
Commit
1b0c585
1 Parent(s): 867f541

added logo

Browse files
Files changed (2) hide show
  1. app.py +3 -1
  2. xflow.png +0 -0
app.py CHANGED
@@ -27,13 +27,15 @@ def answer_question(uploaded_file, question):
27
  answer = result['answer']
28
  return answer
29
 
 
 
30
  # Define the Gradio app interface
31
  iface = gr.Interface(
32
  fn=answer_question,
33
  inputs=[gr.File(label="Upload CSV File", type="binary"), gr.Textbox(lines=2, placeholder="Ask a question...")],
34
  outputs=gr.Text(),
35
  title="Table-based Question Answering",
36
- description="Upload a CSV file and ask a question related to the data in the file."
37
  )
38
 
39
  # Run the app
 
27
  answer = result['answer']
28
  return answer
29
 
30
+
31
+ logo_url = "https://i.ibb.co/Brr7bPP/xflow.png"
32
  # Define the Gradio app interface
33
  iface = gr.Interface(
34
  fn=answer_question,
35
  inputs=[gr.File(label="Upload CSV File", type="binary"), gr.Textbox(lines=2, placeholder="Ask a question...")],
36
  outputs=gr.Text(),
37
  title="Table-based Question Answering",
38
+ description=f"![Logo]({logo_url})\n\nUpload a CSV file and ask a question related to the data in the file."
39
  )
40
 
41
  # Run the app
xflow.png ADDED