Sai004 commited on
Commit
1b4e4bb
·
1 Parent(s): 7e0d309

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -275,13 +275,7 @@ links_interface = gradio.Interface(
275
  )
276
 
277
  # Combine interfaces into a single app
278
- app = gradio.Interface(
279
- [validation_interface, links_interface],
280
- title="Sprinkler Article Generator API",
281
- description="This is a AI powered REST API with Gradio and Huggingface Spaces – for free! Based on [this article](https://www.tomsoderlund.com/ai/building-ai-powered-rest-api). See the **Use via API** link at the bottom of this page.",
282
- article="© ScholarSync 2023"
283
- )
284
-
285
  # Run the app
286
  if __name__ == "__main__":
287
- app.launch()
 
275
  )
276
 
277
  # Combine interfaces into a single app
278
+ app = gradio.TabbedInterface([links_interface, validation_interface], ["articles link generation", "validation"])
 
 
 
 
 
 
279
  # Run the app
280
  if __name__ == "__main__":
281
+ app.launch()