Spaces:
Sleeping
Sleeping
File size: 403 Bytes
8cc5c82 a251128 5160420 b4ecb60 8cc5c82 e4ef2eb 6aec7fd b4ecb60 8cc5c82 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import gradio as gr
from gemmademo import LlamaCppGemmaModel, GradioChat
def main():
# Model and task selection
model_options = list(LlamaCppGemmaModel.AVAILABLE_MODELS.keys())
task_options = ["Question Answering", "Text Generation", "Code Completion"]
chat = GradioChat(model_options=model_options, task_options=task_options)
chat.run()
if __name__ == "__main__":
main()
|