DHEIVER commited on
Commit
a1177c5
·
verified ·
1 Parent(s): 5781e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -278,6 +278,8 @@ def upload_file(file_obj):
278
  return list_file_path
279
 
280
 
 
 
281
  import gradio as gr
282
 
283
  def demo():
@@ -286,8 +288,8 @@ def demo():
286
  qa_chain = gr.State()
287
  collection_name = gr.State()
288
 
289
- # Inserir a logo
290
- gr.Markdown("""<center><img src="file/trescal_blue.png" style="width:200px; height:auto;"></center>""")
291
 
292
  gr.Markdown(
293
  """<center><h2>PDF-based chatbot</center></h2>
 
278
  return list_file_path
279
 
280
 
281
+ import gradio as gr
282
+
283
  import gradio as gr
284
 
285
  def demo():
 
288
  qa_chain = gr.State()
289
  collection_name = gr.State()
290
 
291
+ # Inserir a logo usando a URL fornecida
292
+ gr.Markdown("""<center><img src="https://huggingface.co/spaces/DHEIVER/pdfchatbot/blob/main/trescal_blue.png" style="width:200px; height:auto;"></center>""")
293
 
294
  gr.Markdown(
295
  """<center><h2>PDF-based chatbot</center></h2>