Spaces:
Sleeping
Sleeping
File size: 378 Bytes
b81355a 74ff460 b81355a 74ff460 bab7035 142aae6 |
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/Orion-zhen/Qwen2.5-7B-Instruct-Uncensored",
provider="featherless-ai",
)
def ask_alpdroid(user_input):
prompt = alp_droid_prompt + "\n\n" + user_input
return model(prompt)
(.launch() |