Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import requests | |
| alp_droid_prompt = requests.get( | |
| "https://raw.githubusercontent.com/ALPERALL/AlpDroid/main/prompt.txt" | |
| ).text | |
| model = gr.load( | |
| "models/moonshotai/Kimi-K2-Instruct", | |
| provider="fireworks-ai", | |
| ) | |
| def ask_alpdroid(user_input): | |
| combined = alp_droid_prompt + "\n\n" + user_input | |
| return model(combined) | |
| # Arayüz çağrısı yok, sadece launch | |
| model.launch() |