DreamStream-1 commited on
Commit
3bb0940
·
verified ·
1 Parent(s): ff908a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -257,12 +257,11 @@ location_input = gr.Textbox(label="Enter your location (latitude,longitude)", pl
257
 
258
  # Gradio interface definition
259
  demo = gr.Interface(
260
- fn=lambda message, location, history, api_key: user_interface(message, location, history, api_key, words, labels, model),
261
  inputs=[
262
  gr.Textbox(label="Message"),
263
  location_input,
264
  "state",
265
- "text" # API Key input
266
  ],
267
  outputs=[
268
  chatbot,
 
257
 
258
  # Gradio interface definition
259
  demo = gr.Interface(
260
+ fn=lambda message, location, history: user_interface(message, location, history, GOOGLE_API_KEY, words, labels, model),
261
  inputs=[
262
  gr.Textbox(label="Message"),
263
  location_input,
264
  "state",
 
265
  ],
266
  outputs=[
267
  chatbot,