Martin van Dijk commited on
Commit ·
abf3d23
1
Parent(s): af6f5f2
Update space
Browse files12323456878910import gradio as grfrom transformers import pipeline
from huggingface_hub import InferenceClient"""For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference"""
model = pipeline("text-generation")model = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
def predict(prompt):app.py+2-3