Raven7 commited on
Commit
22ffbd4
·
verified ·
1 Parent(s): 796bfa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from huggingfacehub import InferenceClient
3
  import os
4
 
5
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1", token=os.getenv("HFTOKEN"))
@@ -52,5 +52,5 @@ demo = gr.ChatInterface(
52
  ],
53
  )
54
 
55
- if __name == "__main":
56
  demo.launch()
 
1
  import gradio as gr
2
+ from huggingface_hub import InferenceClient
3
  import os
4
 
5
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1", token=os.getenv("HFTOKEN"))
 
52
  ],
53
  )
54
 
55
+ if __name__ == "__main__":
56
  demo.launch()