hossamdaoud commited on
Commit
efb7b28
·
verified ·
1 Parent(s): ca3e57c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,9 +1,9 @@
1
  from huggingface_hub import InferenceClient
2
  import gradio as gr
3
- import os
4
 
5
-
6
- client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
 
7
 
8
 
9
  def format_prompt(message, history):
@@ -92,4 +92,4 @@ gr.ChatInterface(
92
  additional_inputs=additional_inputs,
93
  title="Exam Advisor for Postgraduate Trained 🏛️",
94
  concurrency_limit=20,
95
- ).launch(show_api=False)
 
1
  from huggingface_hub import InferenceClient
2
  import gradio as gr
 
3
 
4
+ client = InferenceClient(
5
+ "mistralai/Mixtral-8x7B-Instruct-v0.1"
6
+ )
7
 
8
 
9
  def format_prompt(message, history):
 
92
  additional_inputs=additional_inputs,
93
  title="Exam Advisor for Postgraduate Trained 🏛️",
94
  concurrency_limit=20,
95
+ ).launch(show_api=False)