Cartof commited on
Commit
c767dfb
1 Parent(s): 1f319e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  current_dir = os.path.dirname(os.path.abspath(__file__))
6
  css_file = os.path.join(current_dir, "style.css")
7
 
8
- initial_prompt = "You are a helpful assistant."
9
 
10
  def parse_text(text):
11
  lines = text.split("\n")
@@ -111,9 +111,9 @@ with block as demo:
111
 
112
  with gr.Row():
113
  with gr.Column(scale=12):
114
- txt = gr.Textbox(show_label=False, placeholder="Please enter any of your needs here").style(container=False)
115
  with gr.Column(min_width=50, scale=1):
116
- submitBtn = gr.Button("🚀 Submit").style(
117
  css={
118
  "background-color": "#A238FF",
119
  "border-radius": "8px",
@@ -126,7 +126,7 @@ with block as demo:
126
  )
127
 
128
  with gr.Row():
129
- emptyBtn = gr.Button("🧹 New conversation").style(
130
  css={
131
  "background-color": "#E0E0E0",
132
  "border-radius": "8px",
@@ -137,7 +137,7 @@ with block as demo:
137
  "cursor": "pointer",
138
  }
139
  )
140
- retryBtn = gr.Button("🔄 Resubmit").style(
141
  css={
142
  "background-color": "#E0E0E0",
143
  "border-radius": "8px",
@@ -148,7 +148,7 @@ with block as demo:
148
  "cursor": "pointer",
149
  }
150
  )
151
- delLastBtn = gr.Button("🗑️ Delete conversation").style(
152
  css={
153
  "background-color": "#E0E0E0",
154
  "border-radius": "8px",
 
5
  current_dir = os.path.dirname(os.path.abspath(__file__))
6
  css_file = os.path.join(current_dir, "style.css")
7
 
8
+ initial_prompt = "Ești un asistent util."
9
 
10
  def parse_text(text):
11
  lines = text.split("\n")
 
111
 
112
  with gr.Row():
113
  with gr.Column(scale=12):
114
+ txt = gr.Textbox(show_label=False, placeholder=" rugăm introduceți oricare dintre întrebările dvs. aici.").style(container=False)
115
  with gr.Column(min_width=50, scale=1):
116
+ submitBtn = gr.Button("🚀 Trimite").style(
117
  css={
118
  "background-color": "#A238FF",
119
  "border-radius": "8px",
 
126
  )
127
 
128
  with gr.Row():
129
+ emptyBtn = gr.Button("🧹 Conversație nouă").style(
130
  css={
131
  "background-color": "#E0E0E0",
132
  "border-radius": "8px",
 
137
  "cursor": "pointer",
138
  }
139
  )
140
+ retryBtn = gr.Button("🔄 Retrimiteți").style(
141
  css={
142
  "background-color": "#E0E0E0",
143
  "border-radius": "8px",
 
148
  "cursor": "pointer",
149
  }
150
  )
151
+ delLastBtn = gr.Button("🗑️ Sterge conversația").style(
152
  css={
153
  "background-color": "#E0E0E0",
154
  "border-radius": "8px",