gschatbot_2 / app.py
songhune's picture
case2
34c5c8e
raw
history blame contribute delete
351 Bytes
from dotenv import load_dotenv
import gradio as gr
from gradio_interface import create_interface
from huggingface_hub import InferenceClient
__author__ = "songhune"
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
def main():
load_dotenv()
demo = create_interface()
demo.launch(share=True)
if __name__ == "__main__":
main()