ucsahin commited on
Commit
d79744b
·
verified ·
1 Parent(s): a9a69bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -66,6 +66,14 @@ PLACEHOLDER = f"""
66
  </div>
67
  """
68
 
 
 
 
 
 
 
 
 
69
  # with gr.Blocks() as demo:
70
  # with gr.Tab("Open-ended Questions (Soru-cevap)"):
71
  with gr.Accordion("Generation parameters", open=False) as parameter_accordion:
@@ -76,8 +84,8 @@ with gr.Accordion("Generation parameters", open=False) as parameter_accordion:
76
  repeat_penalty_item = gr.Slider(0, 2, value=1.2, label="Repeat penalty")
77
 
78
  demo = gr.ChatInterface(
79
- title="TraVisionLM - Çok Hızlı Türkçe Görsel Dil Modeli",
80
- description="",
81
  fn=bot_streaming,
82
  chatbot=gr.Chatbot(placeholder=PLACEHOLDER, scale=1),
83
  examples=[
 
66
  </div>
67
  """
68
 
69
+ DESCRIPTION = f"""
70
+ ### 875M parametreli küçük ama çok hızlı bir Türkçe Görsel Dil Modeli 🇹🇷🌟⚡️⚡️🇹🇷
71
+
72
+ Yüklediğiniz resimleri açıklatabilir ve onlarla ilgili ucu açık sorular sorabilirsiniz 🖼️🤖
73
+
74
+ Detaylar için [ucsahin/TraVisionLM-base](https://huggingface.co/ucsahin/TraVisionLM-base) kontrol etmeyi unutmayın!
75
+ """
76
+
77
  # with gr.Blocks() as demo:
78
  # with gr.Tab("Open-ended Questions (Soru-cevap)"):
79
  with gr.Accordion("Generation parameters", open=False) as parameter_accordion:
 
84
  repeat_penalty_item = gr.Slider(0, 2, value=1.2, label="Repeat penalty")
85
 
86
  demo = gr.ChatInterface(
87
+ title="TraVisionLM - Demo",
88
+ description=DESCRIPTION,
89
  fn=bot_streaming,
90
  chatbot=gr.Chatbot(placeholder=PLACEHOLDER, scale=1),
91
  examples=[