Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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> ๐น๏ธ
|
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()
|