Spaces:
Sleeping
Sleeping
Commit
·
c223424
1
Parent(s):
1c75036
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
|
6 |
def my_inference_function(name):
|
7 |
return "Hello " + name + "!"
|
8 |
|
9 |
-
gradio_interface =
|
10 |
fn=my_inference_function,
|
11 |
inputs="text",
|
12 |
outputs="text",
|
|
|
6 |
def my_inference_function(name):
|
7 |
return "Hello " + name + "!"
|
8 |
|
9 |
+
gradio_interface = gr.Interface(
|
10 |
fn=my_inference_function,
|
11 |
inputs="text",
|
12 |
outputs="text",
|