alperall commited on
Commit
904718d
·
verified ·
1 Parent(s): 6ebb432

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,7 +3,7 @@ import requests
3
  from huggingface_hub import InferenceClient
4
 
5
  # HuggingFace modeli
6
- client = InferenceClient("Qwen/Qwen3-32B")
7
 
8
  # Sistem mesajı GitHub'dan alınacak
9
  GITHUB_RAW_URL = "https://raw.githubusercontent.com/ALPERALL/AlpDroid/main/prompt.txt"
@@ -75,7 +75,7 @@ theme = gr.themes.Soft(
75
 
76
  # Arayüz oluşturuluyor
77
  with gr.Blocks(theme=theme) as demo:
78
- gr.Markdown("## 🤖 AlpDroid ChatBot\nMor temalı, dosya destekli güçlü sohbet yardımcınız.")
79
 
80
  chatbot = gr.Chatbot(label="AlpDroid")
81
  state = gr.State([])
@@ -83,10 +83,10 @@ with gr.Blocks(theme=theme) as demo:
83
  with gr.Row():
84
  txt = gr.Textbox(
85
  show_label=False,
86
- placeholder="Mesaj yaz veya dosya yükle...",
87
  scale=4
88
  )
89
- submit = gr.Button("Gönder", scale=1)
90
 
91
  with gr.Row():
92
  file_upload = gr.File(label="Dosya Yükle", file_types=["image", "video", ".pdf", ".txt"], file_count="single")
 
3
  from huggingface_hub import InferenceClient
4
 
5
  # HuggingFace modeli
6
+ client = InferenceClient("MiniMaxAI/MiniMax-M1-80k")
7
 
8
  # Sistem mesajı GitHub'dan alınacak
9
  GITHUB_RAW_URL = "https://raw.githubusercontent.com/ALPERALL/AlpDroid/main/prompt.txt"
 
75
 
76
  # Arayüz oluşturuluyor
77
  with gr.Blocks(theme=theme) as demo:
78
+ gr.Markdown("## 🤖 AlpDroid\n, Alper A. tarafından yapıldı, yasadışı kullanımda sorumluluk kullanıcıya aittir.")
79
 
80
  chatbot = gr.Chatbot(label="AlpDroid")
81
  state = gr.State([])
 
83
  with gr.Row():
84
  txt = gr.Textbox(
85
  show_label=False,
86
+ placeholder="Sohbet etmek için dokun...",
87
  scale=4
88
  )
89
+ submit = gr.Button("⬆️", scale=1)
90
 
91
  with gr.Row():
92
  file_upload = gr.File(label="Dosya Yükle", file_types=["image", "video", ".pdf", ".txt"], file_count="single")