ahmedheakl commited on
Commit
ef042dd
·
verified ·
1 Parent(s): 3499b16

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -2
gradio_app.py CHANGED
@@ -52,7 +52,7 @@ def load_chat(
52
  response += chunk.choices[0].delta.content
53
  yield response
54
 
55
- return ChatInterface(
56
  open_api_stream, type="messages", **kwargs
57
  )
58
 
@@ -78,5 +78,4 @@ load_chat(
78
  "files": ["https://i0.wp.com/eatpitapita.com/wp-content/uploads/2020/02/Arab-Muslim-or-Middle-Eastern-Preview.jpg"]
79
  },
80
  ],
81
- logo=LOGO_PATH,
82
  ).queue().launch(allowed_paths=["/static"])
 
52
  response += chunk.choices[0].delta.content
53
  yield response
54
 
55
+ return gr.ChatInterface(
56
  open_api_stream, type="messages", **kwargs
57
  )
58
 
 
78
  "files": ["https://i0.wp.com/eatpitapita.com/wp-content/uploads/2020/02/Arab-Muslim-or-Middle-Eastern-Preview.jpg"]
79
  },
80
  ],
 
81
  ).queue().launch(allowed_paths=["/static"])