yes2code commited on
Commit
d042ca9
·
verified ·
1 Parent(s): 8aa6783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -89,9 +89,9 @@ css = """
89
  }
90
  """
91
 
92
- with gr.Blocks(css=css) as demo:
93
  # gr.HTML("<h1><center>Mistral 7B Instruct<h1><center>")
94
- # gr.HTML("<h3><center>In this demo, you can chat with <a href='https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1'>Mistral-7B-Instruct</a> model. 💬<h3><center>")
95
  # gr.HTML("<h3><center>Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. 📚<h3><center>")
96
  gr.HTML("<h1><center>AI Conversation<h1><center>")
97
  gr.HTML("<h3><center>How can I help you? You can converse with me💬<h3><center>")
@@ -103,4 +103,4 @@ with gr.Blocks(css=css) as demo:
103
  ["Create a plan for daily healthy habbits."], ["What is optogenetic simulation?"], ["How to conduct a neuroscience experiment using holography?"], ["Tell me lifestyle of people living in Auckland, NZ"], ["Make a tour plan for Los Angeles metro area."]]
104
  )
105
 
106
- demo.queue(concurrency_count=75, max_size=100).launch(debug=True)
 
89
  }
90
  """
91
 
92
+ with gr.Blocks(css=css) as ai_chat:
93
  # gr.HTML("<h1><center>Mistral 7B Instruct<h1><center>")
94
+ # gr.HTML("<h3><center>In this AI Chat, you can chat with <a href='https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1'>Mistral-7B-Instruct</a> model. 💬<h3><center>")
95
  # gr.HTML("<h3><center>Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. 📚<h3><center>")
96
  gr.HTML("<h1><center>AI Conversation<h1><center>")
97
  gr.HTML("<h3><center>How can I help you? You can converse with me💬<h3><center>")
 
103
  ["Create a plan for daily healthy habbits."], ["What is optogenetic simulation?"], ["How to conduct a neuroscience experiment using holography?"], ["Tell me lifestyle of people living in Auckland, NZ"], ["Make a tour plan for Los Angeles metro area."]]
104
  )
105
 
106
+ ai_chat.queue(concurrency_count=75, max_size=100).launch(debug=True)