jonathanmutal commited on
Commit
4e2f280
·
verified ·
1 Parent(s): cda04c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,9 +1,9 @@
1
  from huggingface_hub import InferenceClient
2
- from huggingface import set_seed
3
  import gradio as gr
4
 
5
  ### setting the seed
6
- sed_seed(111)
7
 
8
  client = InferenceClient(
9
  "mistralai/Mistral-7B-Instruct-v0.3"
@@ -90,9 +90,9 @@ gr.ChatInterface(
90
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
91
  additional_inputs=additional_inputs,
92
  title="""Mistral 7B v0.3"""
93
- ).launch(show_api=False)
94
 
95
 
96
- gr.load("models/ehristoforu/dalle-3-xl-v2").launch()
97
 
98
- gr.load("models/microsoft/Phi-3-mini-4k-instruct").launch()
 
1
  from huggingface_hub import InferenceClient
2
+ from transformers import set_seed
3
  import gradio as gr
4
 
5
  ### setting the seed
6
+ set_seed(111)
7
 
8
  client = InferenceClient(
9
  "mistralai/Mistral-7B-Instruct-v0.3"
 
90
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
91
  additional_inputs=additional_inputs,
92
  title="""Mistral 7B v0.3"""
93
+ ).launch(show_api=True)
94
 
95
 
96
+ # gr.load("models/ehristoforu/dalle-3-xl-v2").launch()
97
 
98
+ # gr.load("models/microsoft/Phi-3-mini-4k-instruct").launch()