alperall commited on
Commit
5c7664e
·
verified ·
1 Parent(s): 2cd9135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -14
app.py CHANGED
@@ -16,19 +16,5 @@ demo = gr.load(
16
  provider="fireworks-ai",
17
  )
18
 
19
- # Custom arayüz oluştur
20
- with gr.Blocks() as app:
21
- gr.Markdown("# AlpDroid Interface 🤖")
22
- input_box = gr.Textbox(label="Mesajını yaz")
23
- output_box = gr.Textbox(label="AlpDroid Cevabı")
24
- send_btn = gr.Button("Gönder")
25
-
26
- def send_to_model(user_input):
27
- # Prompt'u girdiye enjekte et
28
- injected_input = inject_prompt(user_input)
29
- return demo(injected_input)
30
-
31
- send_btn.click(fn=send_to_model, inputs=input_box, outputs=output_box)
32
-
33
  # Uygulamayı başlat
34
  app.launch()
 
16
  provider="fireworks-ai",
17
  )
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  # Uygulamayı başlat
20
  app.launch()