Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,10 +67,10 @@ with gr.Blocks() as demo:
|
|
67 |
with gr.Row():
|
68 |
input_text = gr.Textbox(label="Enter your prompt here:", placeholder="Type something...", lines=2)
|
69 |
submit_button = gr.Button("Submit")
|
70 |
-
output_llama = gr.Textbox(label="Llama 3 8B 👾", placeholder="", lines=10, interactive=False)
|
71 |
-
output_mistral = gr.Textbox(label="Mistral 7B 🌠", placeholder="", lines=10, interactive=False)
|
72 |
|
73 |
submit_button.click(fn=chat_with_models, inputs=input_text, outputs=[output_llama, output_mistral])
|
74 |
|
75 |
-
|
76 |
-
|
|
|
67 |
with gr.Row():
|
68 |
input_text = gr.Textbox(label="Enter your prompt here:", placeholder="Type something...", lines=2)
|
69 |
submit_button = gr.Button("Submit")
|
70 |
+
output_llama = gr.Textbox(label="Llama 3 8B 👾", placeholder="", lines=10, interactive=False, style="box")
|
71 |
+
output_mistral = gr.Textbox(label="Mistral 7B 🌠", placeholder="", lines=10, interactive=False, style="box")
|
72 |
|
73 |
submit_button.click(fn=chat_with_models, inputs=input_text, outputs=[output_llama, output_mistral])
|
74 |
|
75 |
+
|
76 |
+
demo.launch()
|