rbughao commited on
Commit
ec50ea4
·
verified ·
1 Parent(s): 05a1140

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -44,10 +44,9 @@ The following links are the detailed references:
44
  4. https://en.wikipedia.org/wiki/Dale%E2%80%93Chall_readability_formula
45
  """
46
 
47
- with gr.Blocks() as Conversing:
48
- gr.ChatInterface(measure_readability, chatbot=gr.Chatbot(height=600,label = "Enter Brand.com URL to evaluate"), retry_btn=None,theme=gr.themes.Monochrome(),
49
- title = 'Ecommerce Site Readability Tool', description = "Algorithm for this site is based on Readability Wiki - https://en.wikipedia.org/wiki/Readability " ,undo_btn = None, clear_btn = None, css='footer {visibility: hidden}')
50
- system_prompt = gr.Textbox(label="References", value=DEFAULT_SYSTEM_PROMPT, lines=15, interactive=True)
51
 
52
  if __name__ == "__main__":
53
  Conversing.launch()
 
44
  4. https://en.wikipedia.org/wiki/Dale%E2%80%93Chall_readability_formula
45
  """
46
 
47
+ Conversing = gr.ChatInterface(measure_readability, chatbot=gr.Chatbot(height=600,label = "Enter Brand.com URL to evaluate"), retry_btn=None,theme=gr.themes.Monochrome(),
48
+ title = 'Ecommerce Site Readability Tool', description = "Algorithm for this site is based on Readability Wiki - https://en.wikipedia.org/wiki/Readability " ,undo_btn = None, clear_btn = None, css='footer {visibility: hidden}').launch()
49
+ system_prompt = gr.Textbox(label="References", value=DEFAULT_SYSTEM_PROMPT, lines=15, interactive=True).launch()
 
50
 
51
  if __name__ == "__main__":
52
  Conversing.launch()