Commit
·
b170f49
1
Parent(s):
37c010d
debugging
Browse files
app.py
CHANGED
@@ -131,14 +131,6 @@ with gr.Blocks(css=css) as demo:
|
|
131 |
with gr.Column(elem_id="col-container"):
|
132 |
gr.HTML(title)
|
133 |
|
134 |
-
with gr.Group():
|
135 |
-
chatbot = gr.Chatbot(height=100)
|
136 |
-
|
137 |
-
with gr.Row():
|
138 |
-
question = gr.Textbox(label="Type your question !",lines=1).style(full_width=True)
|
139 |
-
submit_btn = gr.Button(value="Send message", variant="primary", scale = 1)
|
140 |
-
clean_chat_btn = gr.Button("Delete Chat")
|
141 |
-
|
142 |
with gr.Column():
|
143 |
with gr.Box():
|
144 |
LLM_option = gr.Dropdown(['HuggingFace','OpenAI'],label='Large Language Model Selection',info='LLM Service')
|
@@ -158,6 +150,15 @@ with gr.Blocks(css=css) as demo:
|
|
158 |
step = 500,value= 1500
|
159 |
)
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
with gr.Column():
|
162 |
with gr.Box():
|
163 |
youtube_link = gr.Textbox(label="Add your you tube Link",text_align='left',autofocus=True)
|
|
|
131 |
with gr.Column(elem_id="col-container"):
|
132 |
gr.HTML(title)
|
133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
with gr.Column():
|
135 |
with gr.Box():
|
136 |
LLM_option = gr.Dropdown(['HuggingFace','OpenAI'],label='Large Language Model Selection',info='LLM Service')
|
|
|
150 |
step = 500,value= 1500
|
151 |
)
|
152 |
|
153 |
+
with gr.Group():
|
154 |
+
chatbot = gr.Chatbot(height=100)
|
155 |
+
|
156 |
+
with gr.Row():
|
157 |
+
question = gr.Textbox(label="Type your question !",lines=1).style(full_width=True)
|
158 |
+
submit_btn = gr.Button(value="Send message", variant="primary", scale = 1)
|
159 |
+
clean_chat_btn = gr.Button("Delete Chat")
|
160 |
+
|
161 |
+
|
162 |
with gr.Column():
|
163 |
with gr.Box():
|
164 |
youtube_link = gr.Textbox(label="Add your you tube Link",text_align='left',autofocus=True)
|