zamal commited on
Commit
5be2b7e
1 Parent(s): 90b2e08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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, 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()
 
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
+ if __name__ == "__main__":
76
+ demo.launch()