SivaResearch commited on
Commit
e125aa6
1 Parent(s): 19f3089

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -14
app.py CHANGED
@@ -1,22 +1,19 @@
1
  import gradio as gr
2
 
3
- # Define the markdown text
4
- markdown_text = """
5
- # DSM_509_Assignment_Sentiment_analysis_BERT_SIVA_GOWTHAM
6
- ## Submitted to : Prof.Neeharika Sinha
7
 
8
- ### Developed by:
9
- #### Group No. 18
10
- #### Roll No. | Email ID | Name
11
- #### 2204107023 | msdsm2204107023@iiti.ac.in | GOUTAM PANIGRAHI
12
- #### 2204107046 | msdsm2204107046@iiti.ac.in | SIVASHANKAR SELVARAJAN
13
  """
14
 
15
- # Create a markdown component
16
- markdown = gr.outputs.Markdown(markdown_text)
17
-
18
  # Load the model
19
  iface = gr.Interface.load("models/SivaResearch/DSM_509_Assignment_Sentiment_analysis_BERT_SIVA_GOWTHAM")
20
 
21
- # Add the markdown component to the interface
22
- iface.launch(inbrowser=True, output=markdown)
 
1
  import gradio as gr
2
 
3
+ # Define the title text
4
+ title_text = """
5
+ DSM_509_Assignment_Sentiment_analysis_BERT_SIVA_GOWTHAM
6
+ Submitted to : Prof.Neeharika Sinha
7
 
8
+ Developed by:
9
+ Group No. 18
10
+ Roll No. | Email ID | Name
11
+ 2204107023 | msdsm2204107023@iiti.ac.in | GOUTAM PANIGRAHI
12
+ 2204107046 | msdsm2204107046@iiti.ac.in | SIVASHANKAR SELVARAJAN
13
  """
14
 
 
 
 
15
  # Load the model
16
  iface = gr.Interface.load("models/SivaResearch/DSM_509_Assignment_Sentiment_analysis_BERT_SIVA_GOWTHAM")
17
 
18
+ # Add the title to the interface and launch it
19
+ iface.launch(inbrowser=True, title=title_text)