JohnTan38 commited on
Commit
5c478b0
1 Parent(s): 9b7d286

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ def ask_api(
52
 
53
 
54
  title = 'PDF GPT'
55
- description = """ PDF GPT allows you to chat with your PDF file using Universal Sentence Encoder and Open AI. It gives hallucination free response than other tools as the embeddings are better than OpenAI. The returned response can even cite the page number in square brackets([]) where the information is located, adding credibility to the responses and helping to locate pertinent information quickly."""
56
 
57
  with gr.Blocks() as demo:
58
  gr.Markdown(f'<center><h1>{title}</h1></center>')
@@ -78,7 +78,7 @@ with gr.Blocks() as demo:
78
  )
79
  question = gr.Textbox(label='Enter your question here')
80
  btn = gr.Button(value='Submit')
81
- btn.style(scale=1)
82
 
83
  with gr.Group():
84
  answer = gr.Textbox(label='The answer to your question is :')
 
52
 
53
 
54
  title = 'PDF GPT'
55
+ description = """ PDF GPT allows you to chat with your PDF file using Universal Sentence Encoder and Open AI. It gives hallucination free response as the embeddings are better than OpenAI. The returned response cite the page number in square brackets([]) where the information is located, adding credibility to the responses and helping to locate pertinent information quickly."""
56
 
57
  with gr.Blocks() as demo:
58
  gr.Markdown(f'<center><h1>{title}</h1></center>')
 
78
  )
79
  question = gr.Textbox(label='Enter your question here')
80
  btn = gr.Button(value='Submit')
81
+ #btn.style(scale=1)
82
 
83
  with gr.Group():
84
  answer = gr.Textbox(label='The answer to your question is :')