thesourmango commited on
Commit
da28c07
·
1 Parent(s): f6cfe9e

Added application file

Browse files
Files changed (2) hide show
  1. README.md +5 -0
  2. app.py +7 -0
README.md CHANGED
@@ -10,4 +10,9 @@ pinned: false
10
  license: apache-2.0
11
  ---
12
 
 
 
 
 
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
10
  license: apache-2.0
11
  ---
12
 
13
+ Test deployment of the Mistral 7B Instruct 0.1 model.
14
+ It's said to be fast and good enough for casual conversation like with a humanoid robot? :)
15
+
16
+ *The Mistral 7B Instruct model is a quick demonstration that the base model can be easily fine-tuned to achieve compelling performance. It does not have any moderation mechanism. We’re looking forward to engaging with the community on ways to make the model finely respect guardrails, allowing for deployment in environments requiring moderated outputs.*
17
+
18
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ iface.launch()