Karthi commited on
Commit
314ea65
·
1 Parent(s): 5580016

Falconsai/medical_summarization

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- generator = pipeline("text-generation", model="AIDC-AI/Marco-o1")
5
 
6
  def generate_response(input_text):
7
  response = generator(input_text, max_length=50)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ generator = pipeline("summarization", model="Falconsai/medical_summarization")
5
 
6
  def generate_response(input_text):
7
  response = generator(input_text, max_length=50)