irmakakin commited on
Commit
75202cd
·
verified ·
1 Parent(s): 5162633

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,7 +60,7 @@ with gr.Blocks(theme=theme_citrus) as demo:
60
  gr.HTML('<a href="https://community.youth4climate.info/homepage" target="_blank">Youth4Climate (EU)</a>')
61
  gr.HTML('<a href="https://www.instagram.com/fridaysforfuturemapa/?hl=de" target="_blank">Fridays for Future MAPA (Africa, Latin America, Asia-Pacific) </a>')
62
  with gr.Column(scale=7):
63
- chatbot = gr.ChatInterface(respond, type="messages")
64
 
65
  #sustainability tips
66
  SUSTAINABILITY_TIPS = [
@@ -173,4 +173,4 @@ def get_top_chunks(query, chunk_embeddings, text_chunks):
173
  return top_chunks
174
 
175
 
176
- chatbot.launch()
 
60
  gr.HTML('<a href="https://community.youth4climate.info/homepage" target="_blank">Youth4Climate (EU)</a>')
61
  gr.HTML('<a href="https://www.instagram.com/fridaysforfuturemapa/?hl=de" target="_blank">Fridays for Future MAPA (Africa, Latin America, Asia-Pacific) </a>')
62
  with gr.Column(scale=7):
63
+ demo = gr.ChatInterface(respond, type="messages")
64
 
65
  #sustainability tips
66
  SUSTAINABILITY_TIPS = [
 
173
  return top_chunks
174
 
175
 
176
+ demo.launch()