File size: 394 Bytes
0984743 713088d 0984743 880935e 0984743 79b729e 0984743 f5b8cd0 0984743 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import os
import getpass
from dotenv import load_dotenv
load_dotenv()
import prompts
import gradio_module
INTERFACE='GRADIO'
MODEL='LLAMA'
REPO_ID='meta-llama/Llama-3.2-1B-Instruct'
#REPO_ID='meta-llama/Llama-3.2-90B-Vision-Instruct'
if INTERFACE=='GRADIO':
gradio_module.init_gradio(REPO_ID)
gradio_interface=gradio_module.get_gradio_interface()
gradio_interface.launch()
|