vilarin commited on
Commit
1178065
Β·
verified Β·
1 Parent(s): e0567a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -31,10 +31,10 @@ system_prompt = '''
31
 
32
  DESCRIPTION = '''
33
  <div>
34
- <h1 style="text-align: center;">Musen</h1>
35
  <p>A podcast talking about the link's content you provided.</p>
36
  <p>πŸ”Ž Paste a website link with http/https.</p>
37
- <p>πŸ¦• Generate podcast. </p>
38
  </div>
39
  '''
40
 
@@ -184,7 +184,6 @@ async def main(link):
184
  answer = Client.text_generation(
185
  prompt=formatted_prompt,
186
  max_new_tokens=4096,
187
- details=True,
188
  temperature=0.7,
189
  return_full_text=False)
190
  print(answer)
 
31
 
32
  DESCRIPTION = '''
33
  <div>
34
+ <h1 style="text-align: center;">Link to Podcast</h1>
35
  <p>A podcast talking about the link's content you provided.</p>
36
  <p>πŸ”Ž Paste a website link with http/https.</p>
37
+ <p>πŸ¦• Now using inference API. Modify codes to use transformer.</p>
38
  </div>
39
  '''
40
 
 
184
  answer = Client.text_generation(
185
  prompt=formatted_prompt,
186
  max_new_tokens=4096,
 
187
  temperature=0.7,
188
  return_full_text=False)
189
  print(answer)