MrAli813 commited on
Commit
52d1f89
·
verified ·
1 Parent(s): 145fb5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -116,6 +116,11 @@ A5 = gr.HTML(
116
  ></iframe>"""),
117
  )
118
 
 
 
 
 
 
119
  mf_transcribe = gr.Interface(
120
  fn=transcribe,
121
  inputs=[
@@ -142,5 +147,5 @@ yt_transcribe = gr.Interface(
142
  allow_flagging="never",
143
  )
144
 
145
- clp = gr.TabbedInterface([A1, A5, mf_transcribe, yt_transcribe, A3, A4], ["Chat", "Write", "Audio Transcription", "Video Transcription", "Describe", "Create"], theme= gr.themes.Glass(primary_hue="neutral", neutral_hue="slate"))
146
  clp.queue().launch()
 
116
  ></iframe>"""),
117
  )
118
 
119
+ A6 = gr.load("models/Falconsai/text_summarization",
120
+ title="",
121
+ description="Enter Text From Documents (from paragraphs to pages) and Instantly Create A Brief Summarization.",
122
+ theme= gr.themes.Glass(primary_hue="neutral", neutral_hue="slate"))
123
+
124
  mf_transcribe = gr.Interface(
125
  fn=transcribe,
126
  inputs=[
 
147
  allow_flagging="never",
148
  )
149
 
150
+ clp = gr.TabbedInterface([A1, A5, A6, mf_transcribe, yt_transcribe, A3, A4], ["Chat", "Write", "Summarize", "Audio Transcription", "Video Transcription", "Describe", "Create"], theme= gr.themes.Glass(primary_hue="neutral", neutral_hue="slate"))
151
  clp.queue().launch()