Sai004 commited on
Commit
d1edfdd
·
1 Parent(s): 94d9ec5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -256,7 +256,7 @@ validation_interface = gradio.Interface(
256
  fn=validation,
257
  inputs="text",
258
  outputs=gradio.outputs.Textbox(label="Validation Result"),
259
- title="Validation API",
260
  description="API to validate user input"
261
  )
262
 
@@ -270,13 +270,12 @@ links_interface = gradio.Interface(
270
  ["Biochemicals"],
271
  ["Rocket Science"]
272
  ],
273
- title="Article Links Generator API",
274
  description="API to generate article recommendations based on user input"
275
  )
276
 
277
  # Combine interfaces into a single app
278
  app = gradio.TabbedInterface([links_interface, validation_interface], ["articles link generation", "validation"])
279
- app.interface_title = "Testing API for ScholarSync™"
280
 
281
  # Run the app
282
  if __name__ == "__main__":
 
256
  fn=validation,
257
  inputs="text",
258
  outputs=gradio.outputs.Textbox(label="Validation Result"),
259
+ title="Validation API - Testing API of ScholarSync",
260
  description="API to validate user input"
261
  )
262
 
 
270
  ["Biochemicals"],
271
  ["Rocket Science"]
272
  ],
273
+ title="Article Links Generator API - Testing API of ScholarSync",
274
  description="API to generate article recommendations based on user input"
275
  )
276
 
277
  # Combine interfaces into a single app
278
  app = gradio.TabbedInterface([links_interface, validation_interface], ["articles link generation", "validation"])
 
279
 
280
  # Run the app
281
  if __name__ == "__main__":