File size: 351 Bytes
34c5c8e
3cfebac
34c5c8e
3cfebac
34c5c8e
3cfebac
 
 
34c5c8e
 
 
 
3cfebac
 
34c5c8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()