Javedalam commited on
Commit
2009758
·
verified ·
1 Parent(s): 9bd4066

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  from deep_translator import GoogleTranslator
4
 
5
  # Initialize the InferenceClient and the translators
6
- client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
7
  translator_to_en = GoogleTranslator(source='hindi', target='english')
8
  translator_to_ar = GoogleTranslator(source='english', target='hindi')
9
 
@@ -93,6 +93,7 @@ gr.ChatInterface(
93
  fn=generate,
94
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
95
  additional_inputs=additional_inputs,
96
- title="Hindi_Mistral8-7b",
 
97
  examples=examples
98
  ).launch(show_api=True)
 
3
  from deep_translator import GoogleTranslator
4
 
5
  # Initialize the InferenceClient and the translators
6
+ client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.2")
7
  translator_to_en = GoogleTranslator(source='hindi', target='english')
8
  translator_to_ar = GoogleTranslator(source='english', target='hindi')
9
 
 
93
  fn=generate,
94
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
95
  additional_inputs=additional_inputs,
96
+ gr.Markdown("**Hindi_Mistral8-7b**"), # Title in bold
97
+ title="",
98
  examples=examples
99
  ).launch(show_api=True)