File size: 410 Bytes
34a10af
652450f
2cd9135
652450f
 
 
 
6af77aa
 
 
652450f
 
6af77aa
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()