prithivMLmods commited on
Commit
a75550a
·
verified ·
1 Parent(s): 7dc6cce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -13
app.py CHANGED
@@ -226,18 +226,6 @@ def generate(input_dict: dict, chat_history: list[dict],
226
  final_response = "".join(outputs)
227
  yield final_response
228
 
229
-
230
- css = '''
231
- .gradio-container {
232
- max-width: 600px !important;
233
- margin: 0 auto; /* centers the container horizontally */
234
- text-align: center; /* centers text and inline elements */
235
- }
236
- footer {
237
- visibility: hidden; /* hides the footer */
238
- }
239
- '''
240
-
241
  # Create the Gradio ChatInterface with the custom CSS applied
242
  demo = gr.ChatInterface(
243
  fn=generate,
@@ -254,7 +242,6 @@ demo = gr.ChatInterface(
254
  textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image", "video"], file_count="multiple"),
255
  stop_btn="Stop Generation",
256
  multimodal=True,
257
- css=css
258
  )
259
 
260
  if __name__ == "__main__":
 
226
  final_response = "".join(outputs)
227
  yield final_response
228
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  # Create the Gradio ChatInterface with the custom CSS applied
230
  demo = gr.ChatInterface(
231
  fn=generate,
 
242
  textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image", "video"], file_count="multiple"),
243
  stop_btn="Stop Generation",
244
  multimodal=True,
 
245
  )
246
 
247
  if __name__ == "__main__":