Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
|
|
4 |
# Function to create an Inference Client based on selected model
|
5 |
def create_inference_client(model_name):
|
6 |
return InferenceClient(model_name)
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
+
|
5 |
# Function to create an Inference Client based on selected model
|
6 |
def create_inference_client(model_name):
|
7 |
return InferenceClient(model_name)
|