Eriberto commited on
Commit
ba9bb54
·
1 Parent(s): 5f15ad1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -258,12 +258,12 @@ def chat(input0, input1, chat_radio, chat_history):
258
 
259
 
260
  with gr.Blocks(title='Talk to chatGPT') as demo:
261
- gr.HTML("<p>You can duplicating this space and use your own session token: <a style='display:inline-block' href='https://huggingface.co/spaces/yizhangliu/chatGPT?duplicate=true'><img src='https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14' alt='Duplicate Space'></a></p>")
262
- gr.HTML("<p> Instruction on how to get session token can be seen in video <a style='display:inline-block' href='https://www.youtube.com/watch?v=TdNSj_qgdFk'><font style='color:blue;weight:bold;'>here</font></a>. Add your session token by going to settings and add under secrets. </p>")
263
  with gr.Group(elem_id="page_1", visible=True) as page_1:
264
  with gr.Box():
265
  with gr.Row():
266
- start_button = gr.Button("Let's talk to chatGPT!", elem_id="start-btn", visible=True)
267
  start_button.click(fn=None, inputs=[], outputs=[], _js=start_work)
268
 
269
  with gr.Group(elem_id="page_2", visible=False) as page_2:
 
258
 
259
 
260
  with gr.Blocks(title='Talk to chatGPT') as demo:
261
+ gr.HTML("<p> Essa é uma demonstração do model GPT-3 aplicado no context de chatbot. </p>")
262
+ gr.HTML("<p> Faça perguntas e se surprenda com as respostas </p>")
263
  with gr.Group(elem_id="page_1", visible=True) as page_1:
264
  with gr.Box():
265
  with gr.Row():
266
+ start_button = gr.Button("Click aqui para conversar!!", elem_id="start-btn", visible=True)
267
  start_button.click(fn=None, inputs=[], outputs=[], _js=start_work)
268
 
269
  with gr.Group(elem_id="page_2", visible=False) as page_2: