saritha commited on
Commit
a9aba1c
ยท
verified ยท
1 Parent(s): c3dff71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,7 +68,7 @@ def chat_with_models(text):
68
 
69
  with gr.Blocks() as demo:
70
  gr.Markdown("<h1>๐Ÿš€ Mistral 7B vs LLama3 8B ๐Ÿฆ™</h1>")
71
- gr.Markdown("<h3> ๐Ÿ•น๏ธ Compare the performance and responses of two powerful models, Mistral 7B and LLama3 8B instruct. Type your questions or prompts below and see how each model responds to the same input ๐Ÿ‘พ </h3>")
72
  with gr.Row():
73
  input_text = gr.Textbox(label="Enter your prompt here:", placeholder="Type something...", lines=2)
74
  submit_button = gr.Button("Submit")
@@ -81,7 +81,7 @@ with gr.Blocks() as demo:
81
  ['What is the ideal diet according to ayurveda?']
82
  ],
83
 
84
- submit_button.click(fn=chat_with_models, inputs=input_text, outputs=[output_llama])
85
 
86
  if __name__ == "__main__":
87
  demo.launch()
 
68
 
69
  with gr.Blocks() as demo:
70
  gr.Markdown("<h1>๐Ÿš€ Mistral 7B vs LLama3 8B ๐Ÿฆ™</h1>")
71
+ gr.Markdown("<h3> ๐Ÿ•น๏ธ Type your questions or prompts related to Ayurveda and see how each model responds to the same input ๐Ÿ‘พ </h3>")
72
  with gr.Row():
73
  input_text = gr.Textbox(label="Enter your prompt here:", placeholder="Type something...", lines=2)
74
  submit_button = gr.Button("Submit")
 
81
  ['What is the ideal diet according to ayurveda?']
82
  ],
83
 
84
+ submit_button.click(fn=chat_with_models, inputs=input_text, outputs=[output_llama,output_mistral])
85
 
86
  if __name__ == "__main__":
87
  demo.launch()