Update app.py
Browse files
app.py
CHANGED
@@ -2,14 +2,6 @@ from huggingface_hub import InferenceClient
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
-
def predict(image):
|
6 |
-
# Your prediction function here
|
7 |
-
return image
|
8 |
-
|
9 |
-
interface = gr.Interface(
|
10 |
-
fn=predict,
|
11 |
-
gr.inputs.Image(type="pil", default=os.path.join(os.getcwd(), "Laila.png")))
|
12 |
-
|
13 |
|
14 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
15 |
|
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
7 |
|